升序降序:
select * from 表名 order by + (字段)+(升序/降序)
字段: 一般是: float int ;
varchar一般不进行排序!
ASC;升序
DESC;降序
select * from user order by python_grade ASC ;
select * from user order by python_grade DESC;
升序降序:
select * from 表名 order by + (字段)+(升序/降序)
字段: 一般是: float int ;
varchar一般不进行排序!
ASC;升序
DESC;降序
select * from user order by python_grade ASC ;
select * from user order by python_grade DESC;