You have been given two tables,CUSTOMER and SALE.You want to check the referential integrity constraint: SALE.CustomerNumber must exist in CUSTOMER.CustomerNumber
You run the following SQL query:
SELECT CustomerNumber
FROM SALE
WHERE CustomerNumber NOT IN
(SELECT CustomerNumber
FROM SALE,CUSTOMER
WHERE SALE.CustomerNumber = CUSTOMER.CustomerNumber) ;
What is shown in the results of this query?
A) All values of CustomerNumber that match the constraint.
B) All values of CustomerNumber that violate the constraint.
C) All values of CustomerNumber where
SALE.CustomerNumber = CUSTOMER.CustomerNumber.
D) A and C
E) B and C
Correct Answer:
Verified
Q67: The advantages of normalization include _.
A)the elimination
Q68: The presence of one or more foreign
Q69: The SQL keyword TOP _.
A)limits the number
Q70: An advantage of denormalization is _.
A)faster updating
B)faster
Q71: Unlike the anomalies from functional dependencies,the anomalies
Q73: The disadvantages of normalization include _.
A)the elimination
Q74: During the second step of assessing table
Q75: Read-only databases are used for _.
A)updating
B)querying
C)reporting
D)A and
Q76: To limit the number of rows retrieved
Q77: For a number of reasons,_ is not
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents