Morning Gents/Ladies, I'm having an issue with the relation between tables. Any suggestion would be appreciated. Basically I have an Inventory which holds equipment and that I sign out to individuals. I would like to be able to keep track of all my inventory from sitting in my shop or some Bloggins desk.
t_Person -->PersonID PriKey
t_Laptop -->LaptopID PriKey
t_Phone -->PhoneID PriKey
t_Printer -->PrinterID PriKey
A Person can have as many items he wants, an Item can only belong to 1 person.
When PersonID=0, it means the item is sitting on my shelf. The issue I am having is how to query all the information. IE, I want to see everything PersonID=3 has on loan.
PersonId=3 has 2 Laptop, 1 Phones, 0 Printers
Bloggins Panasonic Toughbook 1, Panasonic Toughbook 2, Blackberry, Nil
Hopefully I've given enough detail for some input. Thanks in advance.