I suspect it is the comma(,) after e

SELECT e.*
FROM 
edgar_revenue AS e
INNER JOIN xbrl AS x
ON x."cik" = e."cik"