Examine the description of the EMPLOYEES table: EM...
单选题

Examine the description of the EMPLOYEES table: EMP_ID NUMBER(4) NOT NULL LAST_NAME VARCHAR2(30) NOT NULL FIRST_NAME VARCHAR2(30) DEPT_ID NUMBER(2) Which statement produces the number of different departments that have employees with last name Smith?()

发布日期:2020-04-10

A.SELECT COUNT(*) FROM employees WHERE last_name='Smith';

B.SELECT COUNT(dept_id) FROM employees WHERE last_name='Smith';

C.SELECT DISTINCT(COUNT(dept_id)) FROM employees WHERE last_name='Smith';

D.SELECT COUNT(DISTINCT dept_id) FROM employees WHERE last_name='Smith';

E.SELECT UNIQUE(dept_id) FROM employees WHERE last_name='Smith';

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定