Forum Moderators: coopster

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)

10+ Year Member



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 10+ Year Member Top Contributors Of The Month



what have you tried so far?

you should look into using DISTINCT