An Error Was Encountered

Error Number:

ERROR: syntax error at or near "html" LINE 9: d.id =1012053.html ^

SELECT d.kategorie_fid AS portal_id, *, d.aktiv AS aktiv_dl FROM public.dga_dienstleister d LEFT OUTER JOIN public.dga_clubseiten_stylesheet s ON (d.clubseiten_stylesheet_fid = s.id) INNER JOIN public.dga_kategorie k ON (d.kategorie_fid = k.id) WHERE d.id =1012053.html