MySQL meldet: Dokumentation
#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 f_id , f_name , f_update , f_time FROM hp_crew_fil
SELECT
a.f_id,
a.f_name,
UNIX_TIMESTAMP(a.f_time) as f_time,
a.f_update
FROM
(
SELECT
f_id,
f_name,
f_update,
f_time
FROM
hp_crew_files
) as a,
(
SELECT
f_id,
f_name,
MAX(f_time) as f_time,
f_update
FROM
hp_crew_files
GROUP BY
f_name
) as b
WHERE
a.f_time = b.f_time AND
a.f_name = b.f_name
ORDER BY
a.f_time DESC
PHP / MySQL
JoFi-Ha 06.05.2007 - 107 Hits - 4 Antworten
MySQL Datumsabfrage
RomanNas 14.09.2007 - 136 Hits - 4 Antworten
MySQL-Abfrage ->zählen
stef12 24.11.2007 - 83 Hits - 2 Antworten
Von Datum 3 Tage abziehen
claudiagauss 03.03.2008 - 64 Hits - 3 Antworten