考研排名查询 如何用sql语句将销量排名前十的商品查询出来?
如何用sql语句将销量排名前十的商品查询出来?Select*from test(这里是表名)order by ID(这里是根据的行)desc(desc的意思是降序)limit 0,10(从0开始搜索1
如何用sql语句将销量排名前十的商品查询出来?
Select*from test(这里是表名)order by ID(这里是根据的行)desc(desc的意思是降序)limit 0,10(从0开始搜索10)按降序排列出来,解释在括号中
如何用sql语句将销量排名前十的商品查询出来?Select*from test(这里是表名)order by ID(这里是根据的行)desc(desc的意思是降序)limit 0,10(从0开始搜索1
Select*from test(这里是表名)order by ID(这里是根据的行)desc(desc的意思是降序)limit 0,10(从0开始搜索10)按降序排列出来,解释在括号中