A.USER_CONSTRAINTS B.USER_OBJECTS C.ALL_CONSTRAINTS D.USER_CONS_COLUMNS E.USER_COLUMNS
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?()
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';
A.A single row subquery can retrieve only one column and one row. B.A single row subquery can retrieve only one row but many columns. C.A multiple row subquery can retrieve multiple rows and multiple columns. D.A multiple row subquery can be compared using the ">" operator. E.A single row subquery can use the IN operator. F.A multiple row subquery can use the "=" operator.