Sunday, 05 20th

Last update09:44:47 AM

Login With Facebook

Combinestudy

CS403 Fall 2011 4th Assignment

Write SQL Commands to Create the following tables along with attributes and Primary/Foreign key constraints. Use the appropriate Data Types for each attribute.

Customer (CID, CName, Address, Phone)                                               

Order (Order-ID, Description, CID)                                                           

Product (PID, PName, Price, CAT-ID)                                                       

Product-Order (Order-ID, PID)                                                                  

Invoice (Inv-ID, Description, Total-Amount, Order-ID)                           

Category (CAT-ID, CATName)                                                          

Vendor (VID, Name, Address)                                                                  

Product-Vendor (PID, VID)                                                                         

upload assignment Upload your Solution