MySQL Forums
Forum List  »  General

Re: GROUP BY and COUNT
Posted by: Simon Remppis
Date: June 13, 2009 05:09AM

If I understand you correctly, following query should be what you're looking for:
SELECT `Name`, `blala`, COUNT(*) AS `count` FROM tablename GROUP BY `Name`, `blala`

Options: ReplyQuote


Subject
Written By
Posted
June 13, 2009 04:26AM
Re: GROUP BY and COUNT
June 13, 2009 05:09AM
June 13, 2009 06:36AM
June 13, 2009 01:21PM
June 13, 2009 01:43PM
June 13, 2009 01:58PM
June 13, 2009 08:30PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.