Oracle 1Z0-051 - Questions & Answers
Free preview · every answer includes a full explanation
Product page: https://prepkeys.com/1z0-051.html
Evaluate the SQL statement: TRUNCATE TABLE DEPT;
Which three are true about the SQL statement? (Choose three.)
You need to design a student registration database that contains several tables storing academic information.
The STUDENTS table stores information about a student. The STUDENT_GRADES table stores information about the student's grades. Both of the tables have a column named STUDENT_ID. The STUDENT_ID column in the STUDENTS table is a primary key.
You need to create a foreign key on the STUDENT_ID column of the STUDENT_GRADES table that points to the STUDENT_ID column of the STUDENTS table.
Which statement creates the foreign key?
Here is the structure and data of the CUST_TRANS table: Exhibit:

Dates are stored in the default date format dd-mm-rr in the CUST_TRANS table.
Which three SQL statements would execute successfully? (Choose three.)
See the Exhibit and examine the structure and data in the INVOICE table:
Exhibit:

Which two SQL statements would executes successfully? (Choose two.)
Which three statements are true regarding sub queries? (Choose three.)
See the Exhibit and examine the structure of the CUSTOMERS table:

Using the CUSTOMERS table, you need to generate a report that shown the average credit limit for
customers in WASHINGTON and NEW YORK.
Which SQL statement would produce the required result?
Evaluate these two SQL statements:
SELECT last_name, salary, hire_date FROM EMPLOYEES ORDER BY salary DESC; SELECT
last_name, salary, hire_date FROM EMPLOYEES ORDER BY 2 DESC;
What is true about them?
Where can sub queries be used? (Choose all that apply)
Which three SQL statements would display the value 1890.55 as $1,890.55? (Choose three.)
Evaluate the following SQL statement:

Which statement is true regarding the outcome of the above query?