Professional Documents
Culture Documents
Exercise
2. Types of Relationships
•One to one
•One to many
•Many to many
Answer:
Student
StudentId CampusAddress
Application
ApplicationID ApplicationDate Qualifications StudentID
b)
Answer:
Vendor
VendorID Address Contact Name
Price Quote
VendorID ItemID Price
ITEM
ItemID Description
Camiguin Polytechnic State College
Balbagon 9100, Mambajao, Camiguin
c)
Answer;
Employee
ID Name Office City Extension
1 Jhon S Toronto 54213
2 Susan P Newyork 59867
3 Jennifer L Chicago 59415
Task
ID Task
1 Planning
2 Marketing
3 Testing
Camiguin Polytechnic State College
Balbagon 9100, Mambajao, Camiguin
5. Create database, table and insert command base in the given table
Employee above. Note* Insert data in just one command.
USE DatabaseName;
ID int,
Name varchar(250),
Office_City varchar(250),
Extension int,
VALUES (1,'JHON S,
'Toronto',
54213,
'Planning');