Question 41

Examine the description of the CUSTOMERStable:

For customers whose income level has a value, you want to display the first name and due amount as 5% of their credit limit. Customers whose due amount is null should not be displayed.
Which query should be used?
  • Question 42

    View the Exhibit and examine the structure in the EMPLOYEES tables.

    Evaluate the following SQL statement:
    SELECT employee_id, department_id
    FROM employees
    WHERE department_id= 50 ORDER BY department_id
    UNION
    SELECT employee_id, department_id
    FROM employees
    WHERE department_id= 90
    UNION
    SELECT employee_id, department_id
    FROM employees
    WHERE department_id= 10;
    What would be the outcome of the above SQL statement?
  • Question 43

    View the exhibit and examine the description of SALES and PROMOTIONS tables.

    You want to delete rows from the SALES table, where the PROMO_NAME column in the PROMOTIONS table has either blowout sale or everyday low price as values.
    Which three DELETE statements are valid? (Choose three.)
  • Question 44

    Examine the data in the CUST_NAME column of the CUSTOMERS table.
    CUST_NAME
    -------------------
    Renske Ladwig
    Jason Mallin
    Samuel McCain
    Allan MCEwen
    Irene Mikilineni
    Julia Nayer
    You need to display customers' second names where the second name starts with "Mc" or "MC".
    Which query gives the required output?
  • Question 45

    You create a table named 123.
    Which statement runs successfully?