| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, login, search, subscribe, help, library, PubCon, announcements, recent posts, open posts,
|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 ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved