SELECT htpid AS parentid
FROM likehot WHERE htpid
IN (SELECT id FROM bultin WHERE DATE >= '1317108749')
GROUP BY htpid ORDER BY COUNT(htpid)
DESC
給出結果如何結合這兩個查詢?
parentid
16060
16059
16058
16057
等查詢
SELECT app_id,bultin.id,photo_album_id,entcmmnt_id,link_url,youtubeLink,
link_image,id, mem_id, subj, body, bultin.date,parentid,
from_id, visible_to, image_link,post_via
FROM bultin
WHERE id IN ('16062','16059','16058','16057')
ORDER BY FIELD('16062','16059','16058','16057')
LIMIT 5
其實我想同序列的是,在IN所以我用現場操作員
請推薦 感謝
@ MarkByers,我想讓他們在單個查詢中運行.. – Sparkx
勇敢的男人在一個單一的查詢運行 –
@臨牀不過,你們有沒有答案.. – Sparkx