Jump to content

get total post count


kalster

Recommended Posts

I have a mysql table like the following.

 

post   | username

______________

post1 | username1

post2 | username2

post3 | username1

 

I need a mysql count or max query that would get the highest post count of a user. At the table above, the post count would be 2 because username1 posted two times. Both the post and username data are unknown.

Link to comment
https://forums.phpfreaks.com/topic/296529-get-total-post-count/
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.