1z1-071 Exam Question 91

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

Evaluate this SQL statement:
SELECT TO_CHAR (list_price, '$9,999')
From product_information;
Which two statements are true regarding the output? (Choose two.)
  • 1z1-071 Exam Question 92

    Which three SQL statements would display the value 1890.55 as $1,890.55? (Choose three.)
  • 1z1-071 Exam Question 93

    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?
  • 1z1-071 Exam Question 94

    Which three are true about subqueries?
  • 1z1-071 Exam Question 95

    Evaluate the following CREATE SEQUENCEstatement:
    CREATE SEQUENCE seq1
    START WITH 100
    INCREMENT BY 10
    MAXVALUE 200
    CYCLE
    NOCACHE;
    The sequence SEQ1has generated numbers up to the maximum limit of 200. You issue the following SQL statement:
    SELECT seq1.nextval FROM dual;
    What is displayed by the SELECTstatement?