I have 3 tables A,B,C.
How do I compare these three columns in PostgreSQL? If both column d, e match then update data, else insert data.