Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/sql/83.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sql 如何使用IN语句选择多个用户的状态?_Sql_Facebook_Facebook Fql - Fatal编程技术网

Sql 如何使用IN语句选择多个用户的状态?

Sql 如何使用IN语句选择多个用户的状态?,sql,facebook,facebook-fql,Sql,Facebook,Facebook Fql,“我的状态”返回许多状态: select message from status where uid = me() select message from status where uid in ("639620453") 朋友的状态返回许多状态: select message from status where uid = me() select message from status where uid in ("639620453") 组合这两种状态将返回一种状态: select

“我的状态”返回许多状态:

select message from status where uid = me()
select message from status where uid in ("639620453")
朋友的状态返回许多状态:

select message from status where uid = me()
select message from status where uid in ("639620453")
组合这两种状态将返回一种状态:

select message from status where uid in ("36818590","639620453")
它看起来像是平台上的一个bug


有人知道一种同时选择多个用户状态的替代方法吗?

这似乎有一个bug,您应该记录下来。解决方法可能是查询流表

select message, source_id
from stream 
where source_id  in ("36818590","639620453") 

请看一看,很遗憾,这也不起作用。昨天已经向FB提交了一个bug。它对我有效。你确定你读过流许可证了吗?