1z0-071: Oracle Database 12c SQL Topic 1
Question #: 1
Topic #: 1
Examine the description of the PROMOTIONS table:
You want to display the unique promotion costs in each promotion category.
Which two queries can be used? (Choose two.)
A. SELECT DISTINCT promo_category || ‘ has ‘ || promo_cost AS COSTS FROM promotions ORDER BY 1;
B. SELECT DISTINCT promo_cost || ‘ in ‘ || DISTINCT promo_category FROM promotions ORDER BY 1;
C. SELECT DISTINCT promo_category, promo_cost FROM promotions ORDER BY 1;
D. SELECT promo_category DISTINCT promo_cost, FROM promotions ORDER BY 2;
E. SELECT promo_cost, promo_category FROM promotions ORDER BY 1;
Selected Answer: AC
Question #: 2
Topic #: 1
Examine the description of the PRODUCTS table:
Which three queries use valid expressions? (Choose three.)
A. SELECT product_id, unit_price, S “Discount”, unit_price + surcharge – discount FROM products;
B. SELECT product_id, (unit_price * 0.15 / (4.75 + 552.25)) FROM products;
C. SELECT product_id, (expiry_date – delivery_date) * 2 FROM products;
D. SELECT product_id, unit_price || 5 “Discount”, unit_price + surcharge – discount FROM products;
E. SELECT product_id, expiry_date * 2 FROM products;
F. SELECT product_id, unit_price, unit_price + surcharge FROM products;
Selected Answer: BCF
Question #: 3
Topic #: 1
What is true about non-equijoin statement performance? (Choose two.)
A. The BETWEEN condition always performs less well than using the >= and <= conditions.
B. The BETWEEN condition always performs better than using the >= and <= conditions.
C. The Oracle join syntax performs better than the SQL:1999 compliant ANSI join syntax.
D. Table aliases can improve performance.
E. The join syntax used makes no difference to performance.
Selected Answer: DE
Question #: 4
Topic #: 1
Which two are true? (Choose two.)
A. ADD_MONTHS adds a number of calendar months to a date.
B. CEIL requires an argument which is a numeric data type.
C. CEIL returns the largest integer less than or equal to a specified number.
D. LAST_DAY returns the date of the last day of the current month only.
E. LAST_DAY returns the date of the last day of the month for the date argument passed to the function.
F. LAST_DAY returns the date of the last day of the previous month only.
Selected Answer: AE
Question #: 5
Topic #: 1
Which three statements are true about Oracle synonyms? (Choose three.)
A. A synonym cannot be created for a PL/SQL package.
B. A synonym can be available to all users.
C. A SEQUENCE can have a synonym.
D. Any user can drop a PUBLIC synonym.
E. A synonym created by one user can refer to an object belonging to another user.
Selected Answer: BCE
Question #: 6
Topic #: 1
Which two are true? (Choose two.)
A. CONCAT joins two character strings together.
B. CONCAT joins two or more character strings together.
C. FLOOR returns the largest positive integer less than or equal to a specified number.
D. INSTR finds the offset within a character string, starting from position 0.
E. INSTR finds the offset within a string of a single character only.
F. FLOOR returns the largest integer less than or equal to a specified number.
Selected Answer: AF
Question #: 7
Topic #: 1
Examine these SQL statements which execute successfully:
Which two statements are true after execution? (Choose two.)
A. The primary key constraint will be enabled and IMMEDIATE.
B. The foreign key constraint will be enabled and DEFERRED.
C. The primary key constraint will be enabled and DEFERRED.
D. The foreign key constraint will be disabled.
E. The foreign key constraint will be enabled and IMMEDIATE.
Selected Answer: AD
Question #: 8
Topic #: 1
Examine this SQL statement:
Which two are true? (Choose two.)
A. All existing rows in the ORDERS table are updated.
B. The subquery is executed before the UPDATE statement is executed.
C. The subquery is not a correlated subquery.
D. The subquery is executed for every updated row in the ORDERS table.
E. The UPDATE statement executes successfully even if the subquery selects multiple rows.
Selected Answer: AD
Question #: 9
Topic #: 1
Which two statements are true about TRUNCATE and DELETE? (Choose two.)
A. DELETE can use a WHERE clause to determine which row(s) should be removed.
B. TRUNCATE can use a WHERE clause to determine which row(s) should be removed.
C. TRUNCATE leaves any indexes on the table in an UNUSABLE state.
D. The result of a TRUNCATE can be undone by issuing a ROLLBACK.
E. The result of a DELETE can be undone by issuing a ROLLBACK.
Selected Answer: AE
Question #: 10
Topic #: 1
The STORES table has a column START_DATE of data type DATE, containing the date the row was inserted.
You only want to display details of rows where START_DATE is within the last 25 months.
Which WHERE clause can be used?
A. WHERE TO_NUMBER(start_date - SYSDATE) <= 25
B. WHERE MONTHS_BETWEEN(start_date, SYSDATE) <= 25
C. WHERE MONTHS_BETWEEN(SYSDATE, start_date) <= 25
D. WHERE ADD_MONTHS(start_date, 25) <= SYSDATE
Selected Answer: C
Question #: 11
Topic #: 1
Which three are true about scalar subquery expressions? (Choose three.)
A. They can be nested.
B. They cannot be used in the VALUES clause of an INSERT statement.
C. A scalar subquery expression that returns zero rows evaluates to zero.
D. They can be used as default values for columns in a CREATE TABLE statement.
E. A scalar subquery expression that returns zero rows evaluates to NULL.
F. They cannot be used in GROUP BY clauses.
Selected Answer: AEF
Question #: 12
Topic #: 1
Examine this query:
Which two methods should you use to prevent prompting for a hire date value when this query is executed? (Choose two.)
A. Use the DEFINE command before executing the query.
B. Replace '&1' with '&&1' in the query.
C. Use the UNDEFINE command before executing the query.
D. Execute the SET VERIFY OFF command before executing the query.
E. Execute the SET VERIFY ON command before executing the query.
F. Store the query in a script and pass the substitution value to the script when executing it.
Selected Answer: AB
Question #: 13
Topic #: 1
You need to allow user ANDREW to:
1. Modify the TITLE and ADDRESS columns of your CUSTOMERS table.
2. GRANT that permission to other users.
Which statement will do this?
A. GRANT UPDATE ON customers.title, customers.address TO andrew;
B. GRANT UPDATE (title, address) ON customers TO andrew;
C. GRANT UPDATE (title, address) ON customers TO andrew WITH GRANT OPTION;
D. GRANT UPDATE ON customers.title, customers.address TO andrew WITH ADMIN OPTION;
E. GRANT UPDATE ON customers.title, customers.address TO andrew WITH GRANT OPTION;
F. GRANT UPDATE (title, address) ON customers TO andrew WITH ADMIN OPTION;
Selected Answer: E
Question #: 14
Topic #: 1
You own table DEPARTMENTS, referenced by views, indexes, and synonyms.
Examine this command which executes successfully:
DROP TABLE departments PURGE;
Which three statements are true? (Choose three.)
A. It will remove the DEPARTMENTS table from the database.
B. It will drop all indexes on the DEPARTMENTS table.
C. It will remove all views that are based on the DEPARTMENTS table.
D. It will remove all synonyms for the DEPARTMENTS table.
E. Neither can it be rolled back nor can the DEPARTMENTS table be recovered.
F. It will delete all rows from the DEPARTMENTS table, but retain the empty table.
Selected Answer: ABE
Question #: 15
Topic #: 1
Which three statements are true about Structured Query Language (SQL)? (Choose three.)
A. It requires that data be contained in hierarchical data storage.
B. It best supports relational databases.
C. It provides independence for logical data structures being manipulated from the underlying physical data storage.
D. It is the only language that can be used for both relational and object-oriented databases.
E. It guarantees atomicity, consistency, isolation, and durability (ACID) features.
F. It is used to define encapsulation and polymorphism for a relational table.
Selected Answer: C
Question #: 16
Topic #: 1
Which two statements are true about Oracle synonyms? (Choose two.)
A. Any user can create a PUBLIC synonym.
B. A synonym has an object number.
C. All private synonym names must be unique in the database.
D. A synonym can be created on an object in a package.
E. A synonym can have a synonym.
Selected Answer: DE
Question #: 17
Topic #: 1
Which is true about the ROUND, TRUNC and MOD functions?
A. TRUNC(MOD(25,3),-1) is invalid.
B. ROUND(MOD(25,3),-1) is invalid.
C. ROUND(MOD(25,3),-1) and TRUNC(MOD(25,3),-1) are both valid and give the same result.
D. ROUND(MOD(25,3),-1) and TRUNC(MOD(25,3),-1) are both valid but give different results.
Selected Answer: C
Question #: 18
Topic #: 1
Which two are true about transactions in the Oracle Database? (Choose two.)
A. DML statements always start new transactions.
B. DDL statements automatically commit only data dictionary updates caused by executing the DDL.
C. A session can see uncommitted updates made by the same user in a different session.
D. A DDL statement issued by a session with an uncommitted transaction automatically commits that transaction.
E. An uncommitted transaction is automatically committed when the user exits SQL*Plus.
Selected Answer: DE
Question #: 19
Topic #: 1
Examine the description of the MEMBERS table:
Examine the partial query:
SELECT city, last_name AS lname FROM members ...;
You want to display all cities that contain the string AN. The cities must be returned in ascending order, with the last names further sorted in descending order.
Which two clauses must you add to the query? (Choose two.)
A. ORDER BY 1, 2
B. ORDER BY 1, lname DESC
C. WHERE city IN ('%AN%')
D. WHERE city = '%AN%'
E. WHERE city LIKE '%AN%'
F. ORDER BY last_name DESC, city ASC
Selected Answer: BE
Question #: 20
Topic #: 1
Examine this partial command:
Which two clauses are required for this command to execute successfully? (Choose two.)
A. the access driver TYPE clause
B. the DEFAULT DIRECTORY clause
C. the REJECT LIMIT clause
D. the LOCATION clause
E. the ACCESS PARAMETERS clause
Selected Answer: BD
Question #: 21
Topic #: 1
Which two are true about unused columns? (Choose two.)
A. A query can return data from unused columns, but no DML is possible on those columns.
B. Unused columns retain their data until they are dropped.
C. Once a column has been set to unused, a new column with the same name can be added to the table.
D. The DESCRIBE command displays unused columns.
E. A primary key column cannot be set to unused.
F. A foreign key column cannot be set to unused.
Selected Answer: BC
Question #: 22
Topic #: 1
Which two are true about the precedence of operators and conditions? (Choose two.)
A. || has a higher order of precedence than + (addition).
B. + (addition) has a higher order of precedence than * (multiplication).
C. NOT has a higher order of precedence than AND and OR in a condition.
D. AND and OR have the same order of precedence in a condition.
E. Operators are evaluated before conditions.
Selected Answer: CE
Question #: 23
Topic #: 1
In your session, the NLS_DATE_FORMAT is DD-MM-YYYY.
There are 86400 seconds in a day.
Examine this result:
DATE -
-----------
02-JAN-2020
Which statement returns this?
A. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '2' MONTH + INTERVAL '4' DAY - INTERVAL '120' SECOND, 'DD-MON-YYYY') AS "date" FROM DUAL;
B. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '3' MONTH + INTERVAL '7' DAY - INTERVAL '360' SECOND, 'DD-MON-YYYY') AS "date" FROM DUAL;
C. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '2' MONTH + INTERVAL '5' DAY - INTERVAL '120' SECOND, 'DD-MON-YYYY') AS "date" FROM DUAL;
D. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '2' MONTH + INTERVAL '5' DAY - INTERVAL '86410' SECOND, 'DD-MON- YYYY') AS "date" FROM DUAL;
E. SELECT TO_CHAR(TO_DATE('29-10-2019') + INTERVAL '2' MONTH + INTERVAL '6' DAY - INTERVAL '120' SECOND, 'DD-MON-YYYY') AS "date" FROM DUAL;
Selected Answer: C
Question #: 24
Topic #: 1
Examine the data in the INVOICES table:
Examine the data in the CURRENCIES table:
Which query returns the currencies in CURRENCIES that are not present in INVOICES?
A.
B.
C.
D.
Question #: 25
Topic #: 1
The SALES table has columns PROD_ID and QUANTITY_SOLD of data type NUMBER.
Which two queries execute successfully? (Choose two.)
A. SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY COUNT(*) > 10;
B. SELECT prod_id FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id HAVING COUNT(*) > 10;
C. SELECT COUNT(prod_id) FROM sales GROUP BY prod_id WHERE quantity_sold > 55000;
D. SELECT prod_id FROM sales WHERE quantity_sold > 55000 AND COUNT(*) > 10 GROUP BY prod_id HAVING COUNT(*) > 10;
E. SELECT COUNT(prod_id) FROM sales WHERE quantity_sold > 55000 GROUP BY prod_id;
Selected Answer: BE
Question #: 26
Topic #: 1
Which three statements are true about single-row functions? (Choose three.)
A. They return a single result row per table.
B. They can be nested to any level.
C. They can accept only one argument.
D. The argument can be a column name, variable, literal or an expression.
E. They can be used only in the WHERE clause of a SELECT statement.
F. The data type returned can be different from the data type of the argument.
Selected Answer: BDF
Question #: 27
Topic #: 1
Which two statements are true about *_TABLES views? (Choose two.)
A. USER_TABLES displays all tables owned by the current user.
B. You must have ANY TABLE system privileges, or be granted object privileges on the table, to view a table in USER_TABLES.
C. All users can query DBA_TABLES successfully.
D. You must have ANY TABLE system privileges, or be granted object privileges on the table, to view a table in DBA_TABLES.
E. ALL_TABLES displays all tables owned by the current user.
F. You must have ANY TABLE system privileges, or be granted object privileges on the table, to view a table in ALL_TABLES.
Selected Answer: AF
Question #: 28
Topic #: 1
Which two statements are true about conditional INSERT ALL? (Choose two.)
A. Each row returned by the subquery can be inserted into only a single target table.
B. A single WHEN condition can be used for multiple INTO clauses.
C. Each WHEN condition is tested for each row returned by the subquery.
D. It cannot have an ELSE clause.
E. The total number of rows inserted is always equal to the number of rows returned by the subquery.
Selected Answer: A
Question #: 29
Topic #: 1
Which two statements are true about the COUNT function? (Choose two.)
A. COUNT(*) returns the number of rows in a table including duplicate rows and rows containing NULLs in any column.
B. It can only be used for NUMBER data types.
C. COUNT(DISTINCT inv_amt) returns the number of rows excluding rows containing duplicates and NULLs in the INV_AMT column.
D. COUNT(inv_amt) returns the number of rows in a table including rows with NULL in the INV_AMT column
E. A SELECT statement using the COUNT function with a DISTINCT keyword cannot have a WHERE clause.
Selected Answer: B
Question #: 30
Topic #: 1
The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of data type DATE.
You want to display the date of the first Monday after the completion of six months since hiring.
The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is the first day of the week.
Which query can be used?
A. SELECT emp_id, ADD_MONTHS(hire_date, 6), NEXT_DAY(‘MONDAY’) FROM employees;
B. SELECT emp_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), 1) FROM employees;
C. SELECT emp_id, NEXT_DAY(MONTHS_BETWEEN(hire_date, SYSDATE), 6) FROM employees;
D. SELECT emp_id, NEXT_DAY(ADD_MONTHS(hire_date, 6), ‘MONDAY’) FROM employees;
Selected Answer: D
Question #: 31
Topic #: 1
Which three statements are true about GLOBAL TEMPORARY TABLES? (Choose three.)
A. GLOBAL TEMPORARY TABLE space allocation occurs at session start.
B. GLOBAL TEMPORARY TABLE rows inserted by a session are available to any other session whose user has been granted select on the table.
C. A TRUNCATE command issued in a session causes all rows in a GLOBAL TEMPORARY TABLE for the issuing session to be deleted.
D. Any GLOBAL TEMPORARY TABLE rows existing at session termination will be deleted.
E. A DELETE command on a GLOBAL TEMPORARY TABLE cannot be rolled back.
F. A GLOBAL TEMPORARY TABLE’S definition is available to multiple sessions.
Selected Answer: CDF
Question #: 32
Topic #: 1
Which two statements are true about the SET VERIFY ON command? (Choose two.)
A. It displays values for variables used only in the WHERE clause of a query.
B. It displays values for variables created by the DEFINE command.
C. It can be used only in SQL*Plus.
D. It displays values for variables prefixed with &&.
E. It can be used in SQL Developer and SQL*Plus.
Selected Answer: DE
Question #: 33
Topic #: 1
Examine this list of requirements for a sequence:
1. Name: EMP_SEQ
2. First value returned: 1
3. Duplicates are never permitted.
4. Provide values to be inserted into the EMPLOYEES.EMPLOYEE_ID column.
5. Reduce the chances of gaps in the values.
Which two statements will satisfy these requirements? (Choose two.)
A. CREATE SEQUENCE emp_seq START WITH 1 INCREMENT BY 1 CYCLE;
B. CREATE SEQUENCE emp_seq START WITH 1 INCREMENT BY 1 CACHE;
C. CREATE SEQUENCE emp_seq;
D. CREATE SEQUENCE emp_seq START WITH 1 INCREMENT BY 1 NOCACHE;
E. CREATE SEQUENCE emp_seq NOCACHE;
F. CREATE SEQUENCE emp_seq START WITH 1 CACHE;
Selected Answer: DE
Question #: 34
Topic #: 1
Which three queries execute successfully? (Choose three.)
A. SELECT 1 – SYSDATE – DATE ‘2019-01-01’ FROM DUAL;
B. SELECT SYSDATE – DATE ‘2019-01-01’ – 1 FROM DUAL;
C. SELECT SYSDATE / DATE ‘2019-01-01’ – 1 FROM DUAL;
D. SELECT SYSDATE – 1 – DATE ‘2019-01-01’ FROM DUAL;
E. SELECT (SYSDATE – DATE ‘2019-01-01’) / 1 FROM DUAL;
F. SELECT 1 / SYSDATE – DATE ‘2019-01-01’ FROM DUAL;
Selected Answer: BDE
Question #: 35
Topic #: 1
Which two are true about granting object privileges on tables, views, and sequences? (Choose two.)
A. INSERT can be granted only on tables and sequences.
B. DELETE can be granted on tables, views, and sequences.
C. SELECT can be granted on tables, views, and sequences.
D. ALTER can be granted only on tables and sequences.
E. REFERENCES can be granted only on tables.
Selected Answer: CD
Question #: 36
Topic #: 1
Examine the description of the BOOKS table:
The table has 100 rows.
Examine this sequence of statements issued in a new session:
INSERT INTO books VALUES (‘ADV112’, ‘Adventures of Tom Sawyer’, NULL, NULL);
SAVEPOINT a;
DELETE FROM books;
ROLLBACK TO SAVEPOINT a;
ROLLBACK;
Which two statements are true? (Choose two.)
A. The second ROLLBACK command replays the delete.
B. The first ROLLBACK command restores the 101 rows that were deleted and commits the inserted row.
C. The first ROLLBACK command restores the 101 rows that were deleted, leaving the inserted row still to be committed.
D. The second ROLLBACK command undoes the insert.
E. The second ROLLBACK command does nothing.
Selected Answer: CD
Question #: 37
Topic #: 1
Which two statements are true about an Oracle database? (Choose two.)
A. A table can have multiple primary keys.
B. A column definition can specify multiple data types.
C. A table can have multiple foreign keys.
D. A VARCHAR2 column without data has a NULL value.
E. A NUMBER column without data has a zero value.
Selected Answer: CD
Question #: 38
Topic #: 1
Examine the data in the EMP table:
You execute this query:
Why does an error occur?
A. An alias name must not contain space characters.
B. An alias name must always be specified in quotes.
C. An alias name must not be used in an ORDER BY clause.
D. An alias name must not be used in a GROUP BY clause.
Selected Answer: D
Question #: 39
Topic #: 1
Which two actions can you perform with object privileges? (Choose two.)
A. Create roles.
B. Create FOREIGN KEY constraints that reference tables in other schemas.
C. Delete rows from tables in any schema except SYS.
D. Set default and temporary tablespaces for a user.
E. Execute a procedure or function in another schema.
Selected Answer: BE
Question #: 40
Topic #: 1
No user-defined locks are used in your database.
Which three are true about Transaction Control Language (TCL)? (Choose three.)
A. ROLLBACK without the TO SAVEPOINT clause undoes all the transaction’s changes, releases its locks, and erases all its savepoints.
B. ROLLBACK without the TO SAVEPOINT clause undoes all the transaction’s changes but does not release its locks.
C. ROLLBACK without the TO SAVEPOINT clause undoes all the transaction’s changes but does not erase its savepoints.
D. ROLLBACK TO SAVEPOINT undoes the transaction’s changes made since the named savepoint and then ends the transaction.
E. COMMIT ends the transaction and makes all its changes permanent.
F. COMMIT erases all the transaction’s savepoints and releases its locks.
Selected Answer: AEF
Question #: 41
Topic #: 1
Examine the description of the EMPLOYEES table:
Which two queries return rows for employees whose manager works in a different department? (Choose two.)
A.
B.
C.
D.
E.
E C
Question #: 42
Topic #: 1
Which three are true about dropping columns from a table? (Choose three.)
A. A column must be set as unused before it is dropped from a table.
B. A primary key column cannot be dropped.
C. Multiple columns can be dropped simultaneously using the ALTER TABLE command.
D. A column can be removed only if it contains no data.
E. A column that is referenced by another column in any other table cannot be dropped.
F. A column drop is implicitly committed.
Selected Answer: CF
Question #: 43
Topic #: 1
Which three statements are true about views in an Oracle Database? (Choose three.)
A. A SELECT statement cannot contain a WHERE clause when querying a view containing a WHERE clause in its defining query.
B. Views have no segment.
C. Views have no object number.
D. Views can join tables only if they belong to the same schema.
E. A view can be created that refers to a non-existent table in its defining query.
F. Rows inserted into a table using a view are retained in the table if the view is dropped.
Selected Answer: BEF
Question #: 44
Topic #: 1
You start a session and execute these commands successfully:
Which two are true? (Choose two.)
A. To drop the table in this session, you must first truncate it.
B. Other sessions can view the committed row.
C. You can add a column to the table in this session.
D. You can add a foreign key to the table.
E. When you terminate your session, the row will be deleted.
Selected Answer: CD
Question #: 45
Topic #: 1
Examine this statement:
Which two statements are true? (Choose two.)
A. The names of employees earning the maximum salary will appear first in an unspecified order.
B. All remaining employee names will appear in descending order.
C. All remaining employee names will appear in an unspecified order.
D. All remaining employee names will appear in ascending order.
E. The names of employees earning the maximum salary will appear first in ascending order.
F. The names of employees earning the maximum salary will appear first in descending order.
Selected Answer: AB
Question #: 46
Topic #: 1
Which two are true about external tables that use the ORACLE_DATAPUMP access driver? (Choose two.)
A. When creating an external table, data can be selected only from a table whose rows are stored in database blocks.
B. Creating an external table creates a directory object.
C. When creating an external table, data can be selected from another external table or from a table whose rows are stored in database blocks.
D. Creating an external table creates a dump file that can be used by an external table in the same or a different database.
E. Creating an external table creates a dump file that can be used only by an external table in the same database.
Selected Answer: BD
Question #: 47
Topic #: 1
Examine the description of the EMPLOYEES table:
Which statement will fail?
A.
B.
C.
D.
Selected Answer: A
Question #: 48
Topic #: 1
Examine the data in the NEW_EMPLOYEES table:
Examine the data in the EMPLOYEES table:
You want to:
1. Update existing employee details in the EMPLOYEES table with data from the NEW_EMPLOYEES table.
2. Add new employee details from the NEW_EMPLOYEES table to the EMPLOYEES table.
Which statement will do this?
A.
B.
C.
D.
Selected Answer: A
Question #:49
Topic #: 1
Examine the description of the EMPLOYEES table:
For each employee in department 90 you want to display:
1. their last name
2. the number of complete weeks they have been employed
The output must be sorted by the number of weeks, starting with the longest serving employee first.
Which statement will accomplish this?
A.
B.
C.
D.
Selected Answer: B
Question #: 50
Topic #: 1
Examine the description of the PRODUCT_DETAILS table:
Which two statements are true? (Choose two.)
A. EXPIRY_DATE contains the SYSDATE by default if no date is assigned to it.
B. PRODUCT_PRICE can be used in an arithmetic expression even if it has no value stored in it.
C. PRODUCT_NAME cannot contain duplicate values.
D. EXPIRY_DATE cannot be used in arithmetic expressions.
E. PRODUCT_PRICE contains the value zero by default if no value is assigned to it.
F. PRODUCT_ID can be assigned the PRIMARY KEY constraint.
Selected Answer: BF