Oracle Database: SQL Fundamentals I - 1Z0-051 Exam Practice Test
You issue the following command to drop the PRODUCTS table:
SQL>DROP TABLE products;
What is the implication of this command? (Choose all that apply.)
SQL>DROP TABLE products;
What is the implication of this command? (Choose all that apply.)
Correct Answer: A,D,E
Vote an answer
You work as a database administrator at ABC.com. You study the exhibit carefully. Exhibit:

and examine the structure of CUSTOMRS AND SALES tables: Evaluate the following SQL statement:
Exhibit:

Which statement is true regarding the execution of the above UPDATE statement?

and examine the structure of CUSTOMRS AND SALES tables: Evaluate the following SQL statement:
Exhibit:

Which statement is true regarding the execution of the above UPDATE statement?
Correct Answer: C
Vote an answer
View the Exhibit and examine the structure of the CUSTOMERS table. Evaluate the query statement:

What would be the outcome of the above statement?


What would be the outcome of the above statement?

Correct Answer: B
Vote an answer
View the Exhibit and examine the structure of the PRODUCTS table. You need to generate a report in the following format: CATEGORIES 5MP Digital Photo Camera's category is Photo Y Box's category is Electronics Envoy Ambassador's category is Hardware Which two queries would give the required output? (Choose two.)


Correct Answer: A,D
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
View the Exhibit and examine the structure of ORDERS and CUSTOMERS tables. There is only one customer with the cus_last_name column having value Roberts. Which INSERT statement should be used to add a row into the ORDERS table for the customer whose CUST_LAST_NAME is Roberts and CREDIT_LIMIT is 600?


Correct Answer: B
Vote an answer
View the Exhibit and examine the structure of the CUSTOMERS table. Evaluate the following SQL statement:

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


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

Correct Answer: A
Vote an answer
Examine the structure of the PROMOS table:

You want to generate a report showing promo names and their duration (number of days).
If the PROMO_END_DATE has not been entered, the message 'ONGOING' should be displayed. Which queries give the correct output? (Choose all that apply.)

You want to generate a report showing promo names and their duration (number of days).
If the PROMO_END_DATE has not been entered, the message 'ONGOING' should be displayed. Which queries give the correct output? (Choose all that apply.)
Correct Answer: B,C,D
Vote an answer
Which CREATE TABLE statement is valid?
Correct Answer: B
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).
The ORDERS TABLE belongs to the user OE. OE has granted the SELECT privilege on the ORDERS table to the user HR.
Which statement would create a synonym ORD so that HR can execute the following query successfully?
SELECT * FROM ord;
Which statement would create a synonym ORD so that HR can execute the following query successfully?
SELECT * FROM ord;
Correct Answer: C
Vote an answer
Explanation: Only visible for PassTestking members. You can sign-up / login (it's free).