你好(我是PHP的新手), p>
我可以 我正在弄清楚我正在尝试制作的子查询的语法,这是查询: p>
SELECT * FROM show_episode,shows,show_episode_airdate,show_moyenne
WHERE season = 1 AND episode = 1
AND shows.imdb_id = show_episode.imdb_id_show
AND show_episode_airdate.episode_id = show_episode.episode_id
AND show_moyenne.show_id = shows.id
AND show_episode_airdate.airdate< '2013-07-12'
ORDER BY show_episode_airdate.airdate DESC LIMIT 10
code> pre>
完成后,我想通过show_moyenne.moyenne订购这10个选定的行 有类似的东西: p>
SELECT *(FROM show_episode,shows,show_episode_airdate,show_moyenne
WHERE season = 1 AND episode = 1
AND shows.imdb_id = show_episode.imdb_id_show
AND show_episode_airdate.episode_id = show_episode.episode_id
AND show_moyenne.show_id = shows.id
AND show_episode_airdate.airdate<'2013-07-12'
ORDER BY show_episode_airdate.airdate DESC LIMIT 10)
* ORDER BY show_moyenne.moyenne DESC \ n code> pre>
哪个不正确,有人可以告诉我正确的方法吗? p>
谢谢,任何帮助表示赞赏!< / p>
div>