I have a table “Records” in my database and a column “username” where I have stored the name of the user that has the record. I want to get the user with the highest number of records. The only idea that I have is to build a method to get the number of records for each user and then to find the greatest number among them.
Is there any SQL query to do this or a simpler method?
Thank you.
I have a table Records in my database and a column username where I
Share
1 Answer