-2

我想做一个类似于这样的批处理查询:

SELECT name FROM user 
WHERE uid IN (userID1, userID2, userID3 ...) and name LIKE '%searchParameter%'

这甚至可能吗?我怎样才能做到这一点?

4

1 回答 1

0

对的,这是可能的

SELECT name, uid from user WHERE uid in (SELECT uid2 FROM friend WHERE uid1=me()) and strpos(lower(name),lower('Zuck')) >= 0

在上述情况下,我正在查询包含字母的朋友的姓名zuck

http://developers.facebook.com/docs/reference/fql/user/

于 2012-11-20T15:16:15.253 回答