| Welcome to WebmasterWorld Guest from 184.108.40.206 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
|SQL to return counts of values|
I'm trying to accomplish this with one DB call if possible.
I've got a table with a "where did you hear about us" column, the contents are predetermined and are for example "google, friend, word of mouth, other".
Is there a way to return a count of this column and group the results by answer type?
Word of Mouth (83)
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved