我收到錯誤列在選擇列表中無效:SQL:因爲它不是在聚合函數或GROUP包含BY子句
Column 'movie.title' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
所以我用GROUP BY
語句,但它並不能幫助。
SQLFiddle:http://www.sqlfiddle.com/#!6/25cab/13
查看更新的問題。來自select的所有剩餘項目在分組記錄中是相同的。 – 2014-10-19 08:45:11