您的位置:首页 > 数据库

【0033】SQL查询--简单查询--排序运算

2017-06-23 00:01 260 查看


SELECT studentName,native,classNo
FROM student
WHERE native NOT IN ('南昌','上海')
ORDER BY native DESC

SELECT studentNo,studentName,classNo,birthday
FROM student
WHERE sex='女'
ORDER BY classNo ASC,MONTH(birthday) DESC
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: