View the Exhibit and examine the structure of the EMPLOYEES table.
You want to display all employees and their managers having 100 as the MANAGER_ID. You want the output in two columns: the first column would have the LAST_NAME of the managers and the second column would have LAST_NAME of the employees.
Which SQL statement would you execute?
View the Exhibit and examine the structure of the PROMOTIONS table.
Evaluate the following SQL statement:
Which statement is true regarding the outcome of the above query?
The SALES table has columns PROD_ID and QUANTITY_SOLD of data type NUMBER. Which two queries execute successfully?
Examine these statements and the result:
CREATE SEQUENCE customer_seq CACHE 10;
SELECT customer_seq. NEXTVAL FROM DUAL; NEXTVAL
1
Now examine this command:
ALTER SEQUENCE customer_soq <MISaiNG CLAUSE>;
What must replace missing clause for customer_seq. nfxtvai. to return 11?
View the Exhibit and examine the structure of the ORDER_ITEMS table. (Choose the best answer.)
You must select the ORDER_ID of the order that has the highest total value among all the orders in the ORDER_ITEMS table.
Which query would produce the desired result?