ERROR - Bad Select Statement: Unknown column 'LogDateTime' in 'field list'

SELECT unix_timestamp(LogDateTime) AS time, SolarRad,CurrentSolarmax FROM Dayfile WHERE LogDateTime >= now() - INTERVAL 24 HOUR ORDER BY time