06/09/2005, 09:25
|
| | Fecha de Ingreso: agosto-2005
Mensajes: 79
Antigüedad: 19 años, 5 meses Puntos: 0 | |
Error
consulta SQL :
SELECT autor, (
count( * ) / (
SELECT count( DISTINCT (
fecha
) )
FROM noticias )
) AS media
FROM noticias
GROUP BY autor
LIMIT 0 , 30
MySQL ha dicho:
#1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT count( DISTINCT ( fecha ) )
FROM noticias ) ) AS medi |