看板
[ Database ]
討論串[SQL ] 如何統計多欄位符合條件的次數?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
我的想法是,先select各名次的人,再union all起來,最後再group by起來算次數,. select name,. count(*) as cnt. from (select No1 as name from t1. union all. select No2 as name from
(還有126個字)
首頁
上一頁
1
下一頁
尾頁