Question: Consider the following ER diagram (primary keys are underlined): Create the relational database tables required to implement this ER diagram using SQL create table statements.
Consider the following ER diagram (primary keys are underlined): Create the relational database tables required to implement this ER diagram using SQL create table statements. Include primary key and foreign key constraints
Dorm DName varchar (30) numRooms numeric (3) address varchar(50) Belongs To Room with Room RoomNo bunk Beds shared Bathroom 0..1 0..1 numeric (3) boolean boolean 0..1 Resides in 0..2 Student Sid numeric (6) name varchar(25) phone varchar(12)
Step by Step Solution
3.31 Rating (151 Votes )
There are 3 Steps involved in it
1 create table studentsid int primary keyname varchar30phone v... View full answer
Get step-by-step solutions from verified subject matter experts
