1z1-071 Exam Question 51

View the Exhibit and examine the details of the PRODUCT_INFORMATION table.
Exhibit

You must display PRODUCT_NAME from the table where the CATEGORY_ID column has values 12 or 13, and the SUPPLIER_ID column has the value 102088.
You executed this SQL statement:

Which statement is true regarding the execution?
  • 1z1-071 Exam Question 52

    Examine the description of the PRODUCT_INFORMATIONtable:

    Which query retrieves the number of products with a null list price?
    SELECT COUNT (DISTINCT list_price) FROM product_information WHERE list_price
  • 1z1-071 Exam Question 53

    View the Exhibit and examine the structure of the EMPLOYEES and JOB_HISTORY tables.

    Examine this query which must select the employee IDs of all the employees who have held the job SA_MAN at any time during their employment.
    SELECT employee_id
    FROM employees
    WHERE job_id = 'SA_MAN'
    -------------------------------------
    SELECT employee_id
    FROM job_history
    WHERE job_id='SA_MAN';
    Choose two correct SET operators which would cause the query to return the desired result. (Choose two.)
  • 1z1-071 Exam Question 54

    View the exhibit and examine the structure of the STOREStable.

    You want to display the NAME of the store along with the ADDRESS, START_DATE, PROPERTY_PRICE, and the projected property price, which is 115% of property price.
    The stores displayed must have START_DATEin the range of 36 months starting from 01-Jan-2000 and above.
    Which SQL statement would get the desired output?
  • 1z1-071 Exam Question 55

    Evaluate the following CRTEATE TABLE commands:
    CREATE_TABLE orders
    (ord_no NUMBER (2) CONSTRAINT ord_pk PRIMARY KEY,
    ord_date DATE,
    cust_id NUMBER (4) );
    CREATE TABLE ord_items
    (ord _no NUMBER (2),
    item_no NUMBER(3),
    qty NUMBER (3) CHECK (qty BETWEEEN 100 AND 200),
    expiry_date date CHECK (expiry_date> SYSDATE),
    CONSTRAINT it_pk PRIMARY KEY (ord_no, item_no),
    CONSTARAINT ord_fk FOREIGN KEY (ord_no) REFERENCES orders (ord_no) );
    Why would the ORD_ITEMS table not get created?