题目
题目
单项选择题

What is the result of the following query?  `SELECT COUNT(*) FROM employees WHERE salary > 5000;`

选项
A.Returns the sum of salaries
B.Returns the minimum salary
C.Returns the total number of employees with salary greater than 5000
D.Returns the total number of employees
查看解析

查看解析

标准答案
Please login to view
思路分析
Let's parse the SQL statement and the structure of the query results to understand what is being asked. Option 1: 'Returns the sum of salaries' would be produced by an aggregate function like SUM(salary), not by COUNT(*). Since the query uses COUNT(*) with a WHERE condition, this opt......Login to view full explanation

登录即可查看完整答案

我们收录了全球超50000道考试原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!