Question 121

The PRODUCT_INFORMATION table has a UNIT_PRICE column of data type NUMBER(8, 2).
Evaluate this SQL statement:
SELECT TO_CHAR(unit_price,'$9,999') FROM PRODUCT_INFORMATION;
Which two statements are true about the output?
  • Question 122

    Which two statements will do an implicit conversion?
  • Question 123

    Which statement is true about TRUNCATEand DELETE?
  • Question 124

    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 tables, 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?
  • Question 125

    Which two statements are true about single-row functions? (Choose two.)