Examine the structure of the EMPLOYEES table:

You want to generate a report that contains the department IDs and last names of employees ordered by hire date in their respective departments. Employees from one department must appear in a single row.
Which query will provide the required output?
Examine the structure and data in the PRICE_LIST table:
Name . Null . Type -
PROD_ID . NOT NULL . NUMBER(3)
PROD_PRICE . VARCHAR2(10)
PROD_ID PROD_PRICE -
100 $234.55
101 $6, 509.75
102 $1, 234
You plan to give a discount of 25% on the product price and need to display the discount amount in the same format as the PROD_PRICE.
Which SQL statement would give the required result?
Community Discussion
You want to display the date of the first Monday in the next month and run the following command:

What is the result?
Community Discussion
Which normal form applies to a table that contains no multivalued attributes and has no partial dependencies?
Community Discussion
Evaluate the following SQL statement:
SELECT e.emp_name, d.dept_name
FROM employees e
JOIN departments d
USING (department_id)
WHERE d.department_id NOT IN (10, 40)
ORDER BY dept_name;
The statement fails on execution. Which change corrects the error?


















Community Discussion