2
首先查詢內連接順序在我的查詢
select name, letters, date, count(p.playernumber) as data
from players p inner join fines f using(playernumber)
group by playernumber
第二個查詢
select name, letters, date, count(p.playernumber) as data
from fines f inner join players p using(spelersnr)
group by playernumber
第一個查詢此事確實無法運行,而第二個查詢。我認爲內連接的順序並不重要?第二個查詢是如何運行的,因爲我認爲select中的每個列(聚合除外)都必須位於組中?