SQL查詢

1 select * from scores   使用TOP限制結果集,WITH TIES作用-包括最後一行取值並列的結果 1 --查詢english最高的前3名 2 select top 3 with ties id,chinese,math,english 3 from scores 4 order by english desc   1 --查詢出現次數最多的chinese分數值 2 se
相關文章
相關標籤/搜索