Professional Documents
Culture Documents
Foreign Key
Primary Key (Unique):
- StudentNumber
- AdviserName
- DeptName
Entities:
- Students
- Adviser
- Email
- Department
- Office_Visit
(Parking Spot Reservation, Car Owner)
- 9 Digits
- Digits only
- no characters
10 digits
@sfu.ca
Relationship:
Customer:
- Customer -> Sale Transaction (1 to many - vertical)
- Customer ID
- Sale Transaction -> Customer (many to 1 - circle)
- First name
- Employee -> Sale Transaction (1 to many - vertical)
- Last name
- Sale Transaction -> Employee (many to 1 - circle)
- Phone number
- Product -> Sale Transaction (many to many - horizontal)
- Email address
- Sale Transaction -> Product (many to many - circle)
- Department -> Product (1 to many - vertical)
- Department -> Employee (1 to many - horizontal)
Come up with a way to create ecquiries