Error description: Unknown column 'img' in 'where clause'

SELECT COUNT(id) FROM productos WHERE id = img