Could not execute SQL: Unknown column 'images' in 'where clause'

SELECT a.*,c.name AS category_name, a.title,a.alias,a.introtext,a.fulltext FROM lhm_device AS a INNER JOIN lhm_device_categories AS c ON c.id = a.catid WHERE a.catid=images AND a.enable = 1 AND c.enable = 1 ORDER BY a.title LIMIT 0,9999