This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
1
Mysql question
Post Body
Hi I am trying to write a mysql query to select the top products from a list but only have a maximum of one product from each different store show up in the results.
What I have so far is this:
SELECT * FROM product ORDER BY price/quantity ASC LIMIT 4
This gives me the best deals but I would like to get the best deal from each store and display the top 4 results
Author
Account Strength
50%
Account Age
1 year
Verified Email
Yes
Verified Flair
No
Total Karma
1,187
Link Karma
194
Comment Karma
993
Profile updated: 3 days ago
Posts updated: 2 weeks ago
Subreddit
Post Details
We try to extract some basic information from the post title. This is not
always successful or accurate, please use your best judgement and compare
these values to the post title and body for confirmation.
- Posted
- 10 months ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/learnprogra...