A utility that trnsforms a PHQL query to a RAW SQL statement