Welcome to WebmasterWorld Guest from 54.196.147.57

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

finding how many X occur in a database

how many different galleries there are

     

MikeElmore

3:54 am on Jul 22, 2011 (gmt 0)



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.

topr8

6:31 am on Jul 22, 2011 (gmt 0)

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member



what have you tried so far?

you should look into using DISTINCT
 

Featured Threads

Hot Threads This Week

Hot Threads This Month