CIW
1D0-541 · Question #19
Consider the Information Engineering diagram shown in the exhibit for a building management company. Referential integrity must be maintained such that a building cannot be deleted when it has…
The correct answer is C. CREATE TABLE BUILDING (. See the full explanation below for the reasoning.
Question
Consider the Information Engineering diagram shown in the exhibit for a building management company. Referential integrity must be maintained such that a building cannot be deleted when it has residents. Building_ID, R_ID, Room_Count and Room_Num are integer numbers, whereas Bldg_Name, Location and Res_Name are all represented by variable-length strings with a maximum of 20 characters. Which SQL statement best implements the relations shown in this diagram?
Exhibit
Options
- ACREATE TABLE BUILDING (
- BCREATE TABLE BUILDING (
- CCREATE TABLE BUILDING (
- DCREATE TABLE BUILDING (
How the community answered
(22 responses)- B9% (2)
- C86% (19)
- D5% (1)
Community Discussion
No community discussion yet for this question.
