SELECT * FROM events_photo WHERE event_id = 8 ORDER BY galid DESC

Unknown column 'event_id' in 'where clause'