【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
相关文章推荐
- Oracle中简单查询、限定查询、数据排序SQL语句范例和详细注解
- 【0032】SQL查询--简单查询--选择运算
- Oracle中简单查询、限定查询、数据排序SQL语句范例和详细注解
- 【0031】SQL查询--简单查询--投影运算
- SQL语句实现按关健字模糊查询,并按匹配度排序
- sql 多条件查询的一种简单的方法
- SQL学习之查询技巧 查询第3的数据 用一条语句分组,排序 并查询某一排名
- SQL学习之查询技巧 查询第3的数据 用一条语句分组,排序 并查询某一排名
- SQL 操作————简单查询初探
- (小技巧)SQL Server Management提供的最简单的SQL查询语句格式化
- SQL语句实现按关健字模糊查询,并按匹配度排序
- [js].net中表格数据的排序的js应用,非常简单(中国铁路查询)
- 按字母排序,sql语句查询法
- PL/SQL课程一、 基本查询与排序
- SQL查询结果导出XML文件简单的方法
- SQL的数据查询功能---简单查询
- 简单查询和联合查询两方面介绍SQL查询语句
- 一个简单实用的sql数据库查询工具(c#)
- 再次推荐SQLPrompt3 -简单破解无限期的使用这款很不错的SQL查询分析工具
- oracle中一个树形关联表的查询排序sql