Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Select count from mysql

Tags:

mysql

i have a table containing fields as id user name .... attachresume.

My query:

to count the number of resume attached by distinct user, i have tried sub query but am not getting the required output

like image 660
user3710364 Avatar asked Jul 04 '26 13:07

user3710364


1 Answers

Try this

SELECT ID,UserName,Count(attachresume) AS [No Of Resume]
From Table1
Group By ID,UserName
like image 194
Vignesh Kumar A Avatar answered Jul 07 '26 12:07

Vignesh Kumar A



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!