SelectQueryDefinitionsPhase parses where clause