1z1-071 Exam Question 221

View the Exhibit and examine the structure of the ORDERS table. The ORDER_ID column is the PRIMARY KEY in the ORDERS table.

Evaluate the following CREATE TABLE command:
CREATE TABLE new_orders(ord_id, ord_date DEFAULT SYSDATE, cus_id)
AS
SELECT order_id.order_date,customer_id
FROM orders;
Which statement is true regarding the above command?
  • 1z1-071 Exam Question 222

    View the Exhibits and examine PRODUCTS and SALES tables.

    You issue the following query to display produce name and the number of times the product has been sold:
    SQL>SLECT p. PROD_name, i . item _cnt
    FROM (SELECT prod_id =, count (*) item_cnt
    FROMm sales
    GROUP BY prod_id) I RIGHT OUTER JION products p
    On i. prod _id =.prod_id;
    What happens when the above statement is executed?
  • 1z1-071 Exam Question 223

    Examine the types and examples of relationship that follow:
    1 One-to-one a) teacher to Student
    2 One-to-many b) Employees to Manager
    3 Many-to-one c) Person to SSN
    4 Many-to-many d) Customers to Products
    Which option indicates correctly matched relationships?
  • 1z1-071 Exam Question 224

    Examine the description of the EMPLOYEES table:

    NLS_DATE_FORMAT is set to DD-MON-YY.
    Which query requires explicit data type conversion?
  • 1z1-071 Exam Question 225

    You want to display 5 percent of the rows from the sales table for products with the lowestAMOUNT_SOLD and also want to include the rows that have the sameAMOUNT_SOLDeven if this causes the output to exceed 5 percent of the rows.
    Which query willprovide the required result?