Question: Contractors (C): (gal) Attribute Data Type Cno Char(2) Cname Varchar(20) Ctype Number(2) Varchar(10) Projects (P) (4) Attribute Data Type Char(2) Pname Varchar(20) Sdate Date City

 Contractors (C): (gal) Attribute Data Type Cno Char(2) Cname Varchar(20) Ctype

Contractors (C): (gal) Attribute Data Type Cno Char(2) Cname Varchar(20) Ctype Number(2) Varchar(10) Projects (P) (4) Attribute Data Type Char(2) Pname Varchar(20) Sdate Date City Varchar(10) Pno City Buildings (B): (444) Attribute Bno Bname Area City Data Type Char(2) Varchar(20) Number(4) Varchar(10) Tenders (T): (Gulist) Attribute Data Type Cno Char(2) Bno Char(2) Pno Char(2) Tprice Number(10) Write the SQL code required to create C and T tables as mentioned in the tables above the same order. Pay attention to primary and foreign keys

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!