I want to count all rows base on the category column, example below, category apple has two rows, so get the the category name apple. Thank you.
id user_id category
1 2 apple
2 4 banana
3 6 apple
4 7 berry
//Count all rows, apple has two row, the largest count, so then get the the category name apple