関連: MySQL ORDER BY Customized
別の質問があります。id_competitor
さまざまなスコアがあります。
id_competitor score
1 WIN
2 50+
3 90+
4 90+
1 50
2 WIN
3 40
4 40+
使用したいのですorder by
が、次の順序で:
id_competitor
2
1
4
3
どうすればいいのかわからないSELECT DISTINCT with ORDER BY or GROUP BY