Repeated links on 1ns3rt

select count(*) as Count, group_concat(concat('<a href="/comment.php?id=',id,'">',id,'</a>') SEPARATOR ', ') as Posts, concat('<a href="',link,'">',link,'</a>') as URL from links group by link having Count > 1 order by Count desc