Hi,
I have a litle problem with a query. I have a database with
Pharmacy(Name, Address, PhoneNO)
Medicine(PCOName, TradeName, Type)
and Sell(PName, PCoName, TradeName, Price)
Sell(PName) references Pharmacy(Name) and Sell(PCoNAme, TradeName) refernces Medicine(PCoNAme, TradeName)
I would like to make a query to find all Pharmacies which are selling the same medicine type (antibiotica) like the pharmacy named pharm1.
But I don't know how I can implement this.
I would be really thankful if anyone can help me in this case.
Thanks
Sven
I have a litle problem with a query. I have a database with
Pharmacy(Name, Address, PhoneNO)
Medicine(PCOName, TradeName, Type)
and Sell(PName, PCoName, TradeName, Price)
Sell(PName) references Pharmacy(Name) and Sell(PCoNAme, TradeName) refernces Medicine(PCoNAme, TradeName)
I would like to make a query to find all Pharmacies which are selling the same medicine type (antibiotica) like the pharmacy named pharm1.
But I don't know how I can implement this.
I would be really thankful if anyone can help me in this case.
Thanks
Sven