I have this SQL query which I need to run on different databases. In some databases it's missing. In other this record is present.
INSERT INTO common.pair_aliases (pair_id, alias)
VALUES (356, 'parisrome');
Is it possible to implement a logic first to check is this record present before executing the SQL query?