I am trying to use two WHERE clauses in one fql query
SELECT uid, pic, pic_square, name FROM user WHERE uid IN (SELECT uid2 FROM friend WHERE uid1 = me()) AND WHERE strstr('ab',name)
but getting error
Parser error: unexpected 'WHERE' at position