Question 101

Examine the structure of the CUSTOMERS table: (Choose two.)

CUSTNO is the PRIMARY KEY.
You must determine if any customers' details have been entered more than once using a different CUSTNO, by listing all duplicate names.
Which two methods can you use to get the required result?
  • Question 102

    Examine the description of the PRODUCT_ STATUS table:

    The STATUS column contains the values IN STOCK or OUT OF STocK for each row.
    Which two queries will execute successfully?
  • Question 103

    In the customers table, the CUST_CITY column contains the value 'Paris' for the CUST_FIRST_NAME 'Abigail'.
    Evaluate the following query:

    What would be the outcome?
  • Question 104

    View the Exhibit and examine the structure of the ORDER_ITEMS table.

    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?
    SELECT order_id
  • Question 105

    Examine the description of the SALES table:

    The SALES table has 5,000 rows.
    Examine this statement:
    CREATE TABLE sales1 (prod id, cust_id, quantity_sold, price)
    AS
    SELECT product_id, customer_id, quantity_sold, price
    FROM sales
    WHERE 1=1
    Which two statements are true?