select id,sum(puntos) from ptabla group by id having sum(puntos)>=(select sum(puntos) from ptabla where id=1) order by sum(puntos)