READ Free Dumps For Oracle- 1z0-007
Question ID 7925 | Which four are correct guidelines for naming database tables? (Choose four) |
Option A | Must begin with either a number or a letter. |
Option B | Must be 1-30 characters long. |
Option C | Should not be an Oracle Server reserved word. |
Option D | Must contain only A-Z, a-z, 0-+, _, *, and #. |
Option E | Must contain only A-Z, a-z, 0-9, _, $, and #. |
Option F | Must begin with a letter. |
Correct Answer | BCEF |
Question ID 7926 | Examine the structure of the EMPLOYEES table: Column name Data type Remarks EMPLOYEE_ID NUMBER NOT NULL, Primary Key LAST_NAME VARCNAR2(30) FIRST_NAME VARCNAR2(30) JOB_ID NUMBER SAL NUMBER MGR_ID NUMBER References EMPLOYEE_ID column DEPARTMENT_ID NUMBER 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? |
Option A | CREATE INDEX NAME _IDX (first_name, last_name); |
Option B | CREATE INDEX NAME _IDX (first_name, AND last_name) |
Option C | CREATE INDEX NAME_IDX ON (First_name, last_name); |
Option D | CREATE INDEX NAME_IDX ON employees (First_name, AND last_name); |
Option E | CREATE INDEX NAME_IDX ON employees (First_name, last_name); |
Option F | CREATE INDEX NAME_IDX FOR employees (First_name, last_name); |
Correct Answer | E |