Multiple Choice
Consider the Information Engineering diagram shown in the exhibit. Building_ID, R_ID, Room_Count and Room_Num are integer numbers, whereas Bldg_Name and Res_Name are represented by variable-length strings with a maximum of 20 characters. Location can be up to 50 characters long, and no building has more than 600 rooms. Which SQL statement best implements the BUILDING relation shown in this diagram?
A) CREATE TABLE BUILDING ( Building_ID NOT NULL PRIMARY KEY, Bldg_Name, Location, Room_Count) ;
B) CREATE TABLE BUILDING ( Building_ID NOT NULL PRIMARY KEY, Bldg_Name, Location, Room_Count, FOREIGN KEY Building_ID REFERENCES BUILDING (Building_ID) ) ;
C) CREATE TABLE BUILDING (Building_ID INTEGER NOT NULL PRIMARY KEY, Bldg_Name VARCHAR (20) , Location VARCHAR (50) ,
D) Room_Count INTEGER CHECK (Room_Count > Room_Count INTEGER CHECK ( -1 And Room_Count < 601) ) ; Room_Count > -1 Or Room_Count < 601) ) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q51: Which statement best describes a procedural data
Q52: The exhibit shows a table called Recreation
Q53: Which of the following occurs in a
Q54: Which process is used to prevent the
Q55: Which of the following best describes a
Q57: What is a data dictionary?<br>A) A system
Q58: The exhibit shows a table called Activity
Q59: Consider the Project relation shown in the
Q60: Consider the entity-relation (ER) diagram shown in
Q61: Consider the table shown in the exhibit.