单项选择题
Examine the structure of the EMPLOYEES table:
You need to create an index called NAME_IDX on the first name and last name fields of the EMPLOYEES table. Which SQL statement would you use to perform this task?()
A. CREATE INDEX NAME_IDX (first_name, last_name);
B. CREATE INDEX NAME_IDX (first_name AND last_name);
C. CREATE INDEX NAME_IDX ON (first_name, last_name);
D. CREATE INDEX NAME_IDX ON employees (first_name AND last_name);
E. CREATE INDEX NAME_IDX ON employees(first_name, last_name);
F. CREATE INDEX NAME_IDX FOR employees(first_name, last_name);
相关考题
-
单项选择题
Exhibit: Examine the data in the EMPLOYEES table. Examine the subquery: SELECT last_name FROM employees WHERE salary IN (SELECT MAX(salary) FROM employees GROUP BY department_id); Which statement is true?()
A. The SELECT statement is syntactically accurate.
B. The SELECT statement does not work because there is no HAVING clause.
C. The SELECT statement does not work because the column specified in the GROUP BY clause is not in the SELECT list.
D. The SELECT statement does not work because the GROUP BY clause should be in the main query and not in the subquery. -
单项选择题
The DBA issues this SQL command:CREATE USER scott IDENTIFIED by tiger;What privileges does the user Scott have at this point?()
A. no privileges
B. only the SELECT privilege
C. only the CONNECT privilege
D. all the privileges of a default user -
多项选择题
Which four are correct guidelines for naming database tables?()
A. Must begin with either a number or a letter.
B. Must be 1-30 characters long.
C. Should not be an Oracle Server reserved word.
D. Must contain only A-Z, a-z, 0-+, _, *, and #.
E. Must contain only A-Z, a-z, 0-9, _, $, and #.
F. Must begin with a letter.
