Question 6

Examine the commands used to create DEPARTMENT_DETAILSand COURSE_DETAILS:

You want to generate a report that shows all course IDs irrespective of whether they have corresponding department IDs or not but no department IDs if they do not have any courses.
Which SQL statement must you use?
  • Question 7

    Which two statements are true about the DUAL table?
  • Question 8

    View the Exhibit and examine the data in the PRODUCTS table. (Choose the best answer.) You must display product names from the PRODUCTS table that belong to the
    'Software/other' category with minimum prices as either $2000 or $4000 and with no unit of measure.
    You issue this query:
    SQL > SELECT prod_name, prod_category, prod_min_price FROM products
    Where prod_category LIKE '%Other%' AND (prod_min_price = 2000 OR prod_min_price
    4000) AND prod_unit_of_measure <> ' ';
    Which statement is true?
  • Question 9

    Examine the following query:
    SQL> SELECT prod_id, amount_sold
    FROM sales
    ORDER BY amount_sold
    FETCH FIRST 5 PERCENT ROWS ONLY;
    What is the output of this query?
  • Question 10

    View the Exhibit and examine the structure of ORDERS and CUSTOMERS tables. (Choose the best answer.)

    You executed this UPDATE statement:

    Which statement is true regarding the execution?