G
Guest
This may seem like a dumb question, but I can't seem to figure it out.
I have a database setup in the following fields:
Date, Product, Price, Store Location, Store Name
I need to write a query to find the lowest price broken down by date, then
by product, then by location, then by store name.
So for each date, I want to know for each product in each location, which
store has the lowest price? I tried to use the min, but it gives me the min
for all the prices and will not group it. If anyone can help, please let me
know.
Thanks
I have a database setup in the following fields:
Date, Product, Price, Store Location, Store Name
I need to write a query to find the lowest price broken down by date, then
by product, then by location, then by store name.
So for each date, I want to know for each product in each location, which
store has the lowest price? I tried to use the min, but it gives me the min
for all the prices and will not group it. If anyone can help, please let me
know.
Thanks