如何将这两个查询合并为一个已经加入的查询?
SELECT *
FROM post
LEFT JOIN post_plus
ON ( post.id = post_plus.news_id )
where approve = 1
ORDER BY fixed DESC,
date DESC
LIMIT 0, 7;
SELECT c1.postid
FROM post_category c1
JOIN post_category c2
ON c1.postid = c2.postid
WHERE c1.categoryid IN ( 130, 3, 4, 5 )
AND c2.categoryid = 73