1z0-071 Exam Question 46

Examine the structure of the invoice table.

Which two SQL statements would execute successfully? A)

B)

C)

D)
  • 1z0-071 Exam Question 47

    .No user-defined locks are used in your database.
    Which three are true about Transaction Control Language (TCL)?
  • 1z0-071 Exam Question 48

    A session's NLS_DATE_FORMAT is set to DD Mon YYYY .
    Which two queries return the value 1 Jan 2019?
  • 1z0-071 Exam Question 49

    View the Exhibit and examine the structure of the SALES and PRODUCTS tables. (Choose two.)

    In the SALES table, PROD_ID is the foreign key referencing PROD_ID in the PRODUCTS table. You must list each product ID and the number of times it has been sold.
    Examine this query which is missing a JOIN operator:

    Which two JOIN operations can be used to obtain the required output? (Choose two.)
  • 1z0-071 Exam Question 50

    Evaluate the following CREATE 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) );
    The above command fails when executed. What could be the reason?