select * from t 和select * from t order by id两个有什么区别,求教。越详细越好。
4 回答
杨魅力
TA贡献1811条经验 获得超6个赞
select * from table 是查询整张表的内容
select * from table order by id 是根据id的排序去查询显示!!默认是asc 不然就是desc
- 4 回答
- 0 关注
- 484 浏览
添加回答
举报
0/150
提交
取消