I have no idea why it doesn't work... I need to select particular rows, where their amount is greater than 5.
SELECT member, COUNT(DISTINCT member) as membs
FROM myDB
WHERE membs>5
GROUP BY membe
Try this:
SELECT member, COUNT(member) as membs
FROM myDB
GROUP BY membe
HAVING COUNT(member) > 5
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments