Guest_imported
New member
- Jan 1, 1970
- 0
I have the following tables in my database:
companies(companyID, Name)
equpiment(equipmentID, Equipment)
companyequipment(ID, companyid, equpimentID)
The database is used to store equpiment possessed by different companies. As you can see, one company can have many pieces of equpiment.
What I now desperately need to do is search the database. I need to be able to search for companies that provide certain equpiment - e.g. find companies that have equpiment of IDs (equpimentID) 1, 2 and 4.
I really don't know how to approach it . .
Plz, plz help somebody.
I'd be exceptionally grateful
companies(companyID, Name)
equpiment(equipmentID, Equipment)
companyequipment(ID, companyid, equpimentID)
The database is used to store equpiment possessed by different companies. As you can see, one company can have many pieces of equpiment.
What I now desperately need to do is search the database. I need to be able to search for companies that provide certain equpiment - e.g. find companies that have equpiment of IDs (equpimentID) 1, 2 and 4.
I really don't know how to approach it . .
Plz, plz help somebody.
I'd be exceptionally grateful