Oracle Database SQL - 1z1-071 Exam Practice Test

You must create a table for a banking application.
One of the columns in the table has these requirements:
1: A column to store the duration of a short team loan
2: The data should be stored in a format supporting DATE arithmetic with DATE datatypes without using conversion functions.
3: The maximum loan period is 30 days.
4: Interest must be calculated based on the number of days for which the loan remains unpaid.
Which data type would you use?
Correct Answer: A
In the EMPLOYEES table there are 1000 rows and employees are working in the company for more than 10 years.
Evaluate the following SQL statement:

What would be the result?
Correct Answer: C
Which two statements are true regarding the execution of the correlated subqueries? (Choose two.)
Correct Answer: A,C
Which statement is true regarding the USING clause in table joins? (Choose two.)
Correct Answer: B,D
Examine thestructureof the members table:

You want to display details of all members who reside in states starting with the letter A followed by exactly one character.
Which SQL statement must you execute?
Correct Answer: C
View the Exhibit and examine PRODUCTS and ORDER_ITEMS tables.

You executed the following query to display PRODUCT_NAME and the number of times the product has been ordered:
SELECT p.product_name, i.item_cnt
FROM (SELECT product_id, COUNT (*) item_cnt
FROM order_items
GROUP BY product_id) i RIGHT OUTER JOIN products p
ON i.product_id = p.product_id;
What would happen when the above statement is executed?
Correct Answer: C
BOOK_SEQis an existing sequence in your schema.
Which two CREATE TABLEcommands are valid? (Choose two.)
Correct Answer: B,D
You need to produce a report where each customer's credit limit has been incremented by $1000.
In the output, the customer's last name should have the heading Name and the incremented credit limit should be labeled New Credit Limit. The column headings should have only the first letter of each word in uppercase.
Which statement would accomplish this requirement?
Correct Answer: D
You execute this command:
ALTER TABLE employees SET UNUSED(department_id)
Which two are true? (Choose two.)
Correct Answer: B,D
Which two statements are true regarding the COUNT function? (Choose two.)
Correct Answer: C,E
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which statements are true? (Choose all that apply.)
Correct Answer: A,B,E