0
Hi NileshSo
my query like this
select emp_name, count(emp_name) e from employee
group by emp_name
order by e desc;
0
Hi,
To get a list of values and the number of their appearances:
select col_name, count(col_name) c from table
group by col_name
order by c desc;
If you want only the most common value:
select col_name, count(col_name) c from table
group by col_name
order by c desc
limit 1;