| 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|
|finding how many X occur in a database|
how many different galleries there are
I have a database with a table called 'media' which has a field named 'gallery'
I want to check all the rows and count how many different galleries exist.
what have you tried so far?
you should look into using DISTINCT
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