MySQL Forums
Forum List  »  Newbie

Re: How to count the number of elements for each ID?
Posted by: Peter Brawley
Date: April 10, 2014 12:55PM

I(s this what you mean?

select indiv_id, count(*) as counts
from campaign.indiv
group by indiv_id

Options: ReplyQuote


Subject
Written By
Posted
Re: How to count the number of elements for each ID?
April 10, 2014 12:55PM


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.