Which two are true about using constraints? (Choose two.)
Which two are true about using constraints? (Choose two.)
A table can only have one PRIMARY KEY constraint but may have multiple FOREIGN KEY constraints. PRIMARY KEY and FOREIGN KEY constraints can be specified at both the column level and the table level. These rules ensure the structural integrity and relational nature of the database.
https://docs.oracle.com/javadb/10.8.3.0/ref/rrefsqlj13590.html
why A not correct?
Its exception that not null constrain is not allowed to be defined at table level.
Not NULL constraints can only be set at column level not table level. Each table have only have one primary key constraint with multiple foreign key constraints
D and F are true
What does D mean?
Is the way you specify the constraints syntactically. There are two ways... by column or by table (at the end of the statement). PK and FK can be defined in both.