专业技术初级资格程序员基础知识DB2
题目内容

A table named SALES contains a record for every sales transaction a company processes. A user wishes to see the number of transactions that are made by each salesman. Which SQL statement will produce the desired results、

2024-07-09

A.SELECT name, COUNT(*) AS transactions FROM sales

B.SELECT name, COUNT(DISTINCT name) AS transactions FROM sales

C.SELECT name, COUNT(*) AS transactions FROM sales GROUP BY name

D.SELECT DISTINCT name, COUNT(*) AS transactions FROM sales GROUP BY transactions

题目答案

试卷相关题目

最新试卷
热门试卷

长理培训客户端 资讯,试题,视频一手掌握

去 App Store 免费下载 iOS 客户端