用来对查询结果进行排序的子句是()
A: WHERE子句
B: ORDER BY 子句
C: LIMIT子句
D: GROUP BY 子句
A: WHERE子句
B: ORDER BY 子句
C: LIMIT子句
D: GROUP BY 子句
举一反三
- SELECT语句中,对查询结果排序的子句是: A: FROM子句 B: WHERE子句 C: GROUP BY子句 D: ORDER BY子句
- 在SELECT语句中,下列子句用于对搜索的结果进行排序() A: HAVING子句 B: GROUP BY子句 C: ORDER BY子句 D: WHERE子句
- 下列语句中正确的是() A: DELETE < > [WHERE 筛选条件] [ORDER BY 子句] [LIMIT 子句] B: DELETE [WHERE 筛选条件] [ORDER BY 子句] [LIMIT 子句] C: DELETE [ORDER BY 子句] D: DELETE FROM < > [WHERE 筛选条件] [ORDER BY 子句] [LIMIT 子句]
- 当一个select查询中有where、having、order by和group by子句时,应该书写在最后的是( ) A: where子句 B: having子句 C: order by子句 D: group by子句
- 下面可以通过聚合函数的结果来过滤查询结果集的SQL子句是( ) A: WHERE子句 B: GROUP BY子句 C: HAVING 子句 D: ORDER BY子句