Jump to content

Count with select


steelerman99

Recommended Posts

I'm trying to make a query which would have 2 columns:  the first column would be the person's name and the second column would be how many times that person's name appears in the table.

 

How would I go about doing this?  I've tried it using "Select name, COUNT(*) FROM...." but that doesn't seem to work.

 

 

I appreciate your help!

 

Thanks!

Link to comment
https://forums.phpfreaks.com/topic/90425-count-with-select/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.