mysql查詢語句問題總結

1.查詢表中前10行語句並按降序排序

SQLServer:Select top 10 * from  tablename  order by id desc;

mysql:select * from 表 order by id desc limit 10;

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章