Question 1

You must create a SALES table with these column specifications and data types: (Choose the best answer.) SALESID: Number STOREID: Number ITEMID: Number QTY: Number, should be set to 1 when no value is specified SLSDATE: Date, should be set to current date when no value is specified PAYMENT: Characters up to 30 characters, should be set to CASH when no value is specified Which statement would create the table?
  • Question 2

    Examine the data in the PRODUCTS table:

    Examine these queries:
    1. SELECT prod name, prod list
    FROM products
    WHERE prod 1ist NOT IN(1020) AND category _id=1;
    2. SELECT prod name, | prod _ list
    FROM products
    WHERE prod list < > ANY (1020) AND category _id= 1;
    SELECT prod name, prod _ list
    FROM products
    WHERE prod_ list <> ALL (10 20) AND category _ id= 1;
    Which queries generate the same output?
  • Question 3

    Which three are true aboutprivileges and roles?
  • Question 4

    Examine the structure of the MEMBERS table: (Choose the best answer.)
    Examine the SQL statement:
    SQL > SELECT city, last_name LNAME FROM MEMBERS ORDER BY 1, LNAME DESC; What would be the result execution?
  • Question 5

    Examine the description of the EMPLOYEES table:

    Which query requires explicit data type conversion?