Question 196

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 197

    Which three statements are true about Data Manipulation Language (DML)?
  • Question 198

    You execute this command:
    ALTER TABLE employees SET UNUSED(department_id)
    Which two are true? (Choose two.)
  • Question 199

    Which three statements are true about dropping and unused columns in an Oracle database?
  • Question 200

    View the exhibit and examine the structure of the SALES, CUSTOMERS, PRODUCTS and TIMES tables.

    The PROD_ID column is the foreign key in the SALES table, which references the PRODUCTS table.
    Similarly, the CUST_ID and TIME_ID columns are also foreign keys in the SALES table referencing the CUSTOMERS and TIMES tables, respectively.
    Evaluate the following CREATE TABLE command:
    CREATE TABLE new_sales (prod_id, cust_id, order_date DEFAULT SYSDATE)
    AS
    SELECT prod_id, cust_id, time_id
    FROM sales;
    Which statement is true regarding the above command?