Question 291

Examine the description of the PRODUCT_DETAILStable:

Which two statements are true? (Choose two.)
  • Question 292

    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 293

    Evaluate the following SQL statement:
    SQL> select cust_id, cust_last_name "Last name"
    FROM customers
    WHERE country_id = 10
    UNION
    SELECT cust_id CUST_NO, cust_last_name
    FROM customers
    WHERE country_id = 30
    Identify three ORDERBYclauses either one of which can complete the query.
  • Question 294

    Sales data of a company is stored in two tables, SALES1and SALES2, with some data being duplicated across the tables. You want to display the results from the SALES1table, which are not present in the SALES2table.

    Which set operator generates the required output?
  • Question 295

    You execute this query:

    What is the result?