1

FQL 新手,想要提取“其他”邮箱是否已归档,并按用户对所有正文消息进行分组。下面的查询示例仅在 INBOX 中获取每条消息。folder_id用于0收件箱、1发件箱和4更新。其他收件箱的选项是什么?

SELECT message_id, thread_id, author_id, body, created_time, attachment FROM message WHERE thread_id IN (SELECT thread_id FROM thread WHERE folder_id = 0)
4

1 回答 1

0

使用 OR 运算符

SELECT message_id, thread_id, author_id, body, created_time, attachment FROM message WHERE thread_id IN (SELECT thread_id FROM thread WHERE folder_id = 0 OR folder_id = 1 OR folder_id = 4)

于 2013-12-24T07:16:29.320 回答