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 CUSTOMER) ;
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) All values of Customer number that are in CUSTOMER but not in SALE.
Correct Answer:
Verified
Q58: A missing value is called a null
Q59: You are creating a BOAT table using
Q60: A null value in a column may
Q61: A form of multivalued dependency is found
Q62: A classic example of unneeded normalization is
Q64: The presence of one or more foreign
Q65: Unlike the anomalies from functional dependencies,the anomalies
Q66: _ is the process of joining two
Q67: The SQL function COUNT _.
A)counts the number
Q68: A table with columns PhoneNumber01,PhoneNumber02,and PhoneNumber03 is
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