Can anyone help me solve the problem that I have with the following tables.
SUPPLIER
* SupplierID
Name
Address
Email
SALE
*SaleID
# RegNo
# StaffID
# CustomerID
Date
Sale Price
STAFF
* StaffID
Name
Address
TelNo
CUSTOMER
* CustomerID
Name
Address
TelNo
Email
STOCK
* RegNO
# SupplierID
# SaleID
Make
Model
Colour
PricePaid
ServiceCost
All looks fine with the table design but when you try to do the relationships all the tables will link correctly except for the Sale to Stock relationship. I keep getting the message about referential integrity so I cannot join them togehter.Unfortunately due to the fact that this is for an assignmet for college these are the tables that I have to use. Does anybody have any ideas on what I can do
SUPPLIER
* SupplierID
Name
Address
SALE
*SaleID
# RegNo
# StaffID
# CustomerID
Date
Sale Price
STAFF
* StaffID
Name
Address
TelNo
CUSTOMER
* CustomerID
Name
Address
TelNo
STOCK
* RegNO
# SupplierID
# SaleID
Make
Model
Colour
PricePaid
ServiceCost
All looks fine with the table design but when you try to do the relationships all the tables will link correctly except for the Sale to Stock relationship. I keep getting the message about referential integrity so I cannot join them togehter.Unfortunately due to the fact that this is for an assignmet for college these are the tables that I have to use. Does anybody have any ideas on what I can do