//按照id降序 并把name是小黑的排在最后
SELECT * from dms_student order by name not like '小黑' desc,id desc;
//按照id降序 并把name是小黑的排在最前面 去掉desc即可
SELECT * from dms_student order by name not like '小黑' ,id desc;
//按照id降序 并把name是小黑的排在最后
SELECT * from dms_student order by name not like '小黑' desc,id desc;
//按照id降序 并把name是小黑的排在最前面 去掉desc即可
SELECT * from dms_student order by name not like '小黑' ,id desc;