Oracle
1Z0-052 · Question #25
1Z0-052 Question #25: Real Exam Question with Answer & Explanation
The correct answer is B: A NOT NULL constraint is created on the OID column. See the full explanation below for the reasoning.
Question
Examine the following command that is used to create a table: SQL> CREATE TABLE orders ( oid NUMBER(6) PRIMARY KEY, odate DATE, ccode NUMBER (6), oamt NUMBER(10,2) ) TABLESPACE users; Which two statements are true about the effect of the above command? (Choose two.)
Options
- AA CHECK constraint is created on the OID column
- BA NOT NULL constraint is created on the OID column
- CThe ORDERS table is the only object created in the USERS tablespace
- DThe ORDERS table and a unique index are created in the USERS tablespace
- EThe ORDERS table is created in the USERS tablepsace and a unique index is created on the OID
Community Discussion
No community discussion yet for this question.