Invalid query : select * from standings where tttID = AND ttlUID = 1 AND ttsUID = 3