operator does not exist: text = integer code example
Example: operator does not exist: integer = text
SELECT ...
WHERE table1.integer = table2.text_integer::numeric
SELECT ...
WHERE table1.integer = table2.text_integer::numeric