I want to solve this issue in query @
for Ex :
id ip
1 1.2.3.3
2 1.2.3.3
3 1.23.42.2
4 4.4.2.1
I am looking for
ip count ids
1.2.3.3 2 1,2
1.23.42.2 1 3
4.4.2.1 1 4
I have tried with query -
select count(id) ,ip , id from table group by ip ;
it not working . how to solve this .