BCE is Correct
A. The SALARY column must have a value. .............FALSE
B. The DEPTNO column in the EMP table can contain NULLS..........TRUE
C. The COMMISION column can contain negative values. ....TRUE
D. The DEPTNO column in the EMP table can contain the value 1...... TRUE WITH CONDITION. (If dept table primary key has 1 values)
E. The MANAGER column is a foreign key referencing the EMPNO column........ TRUE
F. The DNAME column has a unique constraint. FALSE
G. An index is created automatically in the MANAGER column....FALSE
A is correct!! The SALARY column is part of a Check constraint CC_COMM that requires the SALARY to be greater than 100, which means it must have a value and cannot be NULL
Its correct there is a check constraint which mean it has to be > 100, yet it will not prevent a null value to be inserted in the column. In order to prevent not null, this specific constraint has to be added. Test it. A is wrong
BCE, D is wrong because DEP_NO has a constraint in the department table that prevents it from having a value less than 10, very tricky, those who answered D might get surprises after the exam.
BCE are correct.
D is wrong because DEPTNO in EMP table is referencign DEPTNO in DEPT and there is check constraint which demands DEPTNO in DEPT to be greater than 9
DEPTNO is a foreign key referencing a primary key so it should be able to be 1
upvoted 1 times
...
...
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Viviana3184
Highly Voted 2 years agobfb7c7d
Most Recent 2 months agorani_12
4 months, 3 weeks agoArslanAltaf
8 months, 2 weeks agoRIDA_007
7 months, 2 weeks agoArslanAltaf
6 months, 4 weeks agoyaya32
11 months, 3 weeks agoNico_Nikko
10 months agoyanoolthecool
1 year agowinston
1 year agoMcromeo
1 year agozangado
1 year, 1 month agolucemqy
1 year, 1 month agoMcromeo
1 year agoramonciks
1 year, 3 months agoSangiii
1 year, 4 months agoTheOracleWasTaken
1 year, 5 months agoTofOra
11 months agoCMjer
1 year, 7 months agoAV80
2 years agoanzac
2 years agolucemqy
1 year, 1 month ago