Ver Mensaje Individual
  #2  
Antiguo 25-10-2013
blackx5n blackx5n is offline
Miembro
 
Registrado: feb 2008
Posts: 51
Reputación: 17
blackx5n Va por buen camino
Cool

Hola, porque no pruebas agregando un:

Count: Que devuelve el numero de registros de la seleccion

Código Delphi [-]
SELECT Count(@NUMERO) AS POSICION, CONCAT_WS("", equipo1, equipo2) AS equipo,nombre,SUM(gol) AS gol, cedula 
 FROM (SELECT @NUMERO:=0)R, cedulas WHERE gol>0 GROUP BY nombre ORDER BY GOL DESC

Salud2
Responder Con Cita