I have a mysql table containing with bunch of duplicate data. for example
ID Visited URL
1 google.com
1 facebook.com
1 google.com
1 facebook.com
2 google.com
2 google.com
I need to avoid these duplicate rows and get unique rows as follows.
ID Visited URL
1 google.com
1 facebook.com
2 google.com
How could I do that? any suggestions??