Question 86
BOOK_SEQ is an existing sequence in your schema.
Which two CREATE TABLE commands are valid?
Question 87
Which three statements are true regarding the SQL WHERE and HAVING clauses? (Choose three.)
Question 88
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?
Question 89
Examine the structure of the EMPLOYEEStable:
There is a parent/child relationship between EMPLOYEE_IDand MANAGER_ID.
You want to display the name, joining date, and manager for all employees. Newly hired employees are yet to be assigned a department or a manager. For them, 'No Manager' should be displayed in the MANAGERcolumn.
Which SQL query gets the required output?
SELECT e.last_name, e.hire_date, NVL(m.last_name, 'No Manager') Manager
Question 90
Which three statements are true about Data Manipulation Language (DML)? (Choose three.)
