Problema TOP MySQL
#7

Hay una manera mбs eficiente de hacer eso usando solo la consulta de sql.

ejemplo.

SET @pos=0;
SELECT @pos:=@pos+1,name FROM players ORDER BY score DESC;
Reply


Messages In This Thread
Problema TOP MySQL - by EdgarHN - 15.06.2017, 03:20
Respuesta: Problema TOP MySQL - by mcreed - 15.06.2017, 23:46
Respuesta: Problema TOP MySQL - by EdgarHN - 15.06.2017, 23:49
Respuesta: Problema TOP MySQL - by mcreed - 16.06.2017, 00:01
Respuesta: Problema TOP MySQL - by Matyaas - 16.06.2017, 00:50
Respuesta: Problema TOP MySQL - by EdgarHN - 16.06.2017, 00:52
Respuesta: Problema TOP MySQL - by The-Krew - 16.06.2017, 04:32

Forum Jump:


Users browsing this thread: 2 Guest(s)