
08/08/2005, 16:18
|
 | | | Fecha de Ingreso: mayo-2003 Ubicación: Panama city, Panama, Panama
Mensajes: 1.154
Antigüedad: 21 años, 11 meses Puntos: 5 | |
ok, asi es que finalmente la quiero pero me manda error cuando le agrego "order by totales desc".
alguien sabe x q??
sSQL = "select top 5 count(tblcomments.idtema) as totales, forotemas.titulo from tblcomments inner join forotemas on forotemas.codigo=tblcomments.idtema where tblcomments.idmain in(select codigo from foromain where privado=true and activar=true) group by tblcomments.idtema, forotemas.titulo order by totales desc"
__________________ Saruman One Ring to rule them all, One Ring to find them, One Ring to bring them all and in the darkness bind them. |