SUPPLIER ID 1 1 2 1 3 2 2 3 1 3 How to find the SUPPLIER ID values no of times repeated here, for eg: here 1 repeated for 4 times like wise i need for all the numbers can any 1 helps to write this query
select SUPPLIERID,count(*) from Mytable group by SUPPLIERID
SELECT category, COUNT(*) AS `num` FROM posts GROUP BY category
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)