| Welcome to WebmasterWorld Guest from 126.96.36.199 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|SQL to return counts of values|
| 10:52 pm on Jul 16, 2007 (gmt 0)|
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