Postgresql – SQL "IN" operator with a literal value on the left side and columns on the right side
I am using IN operator in a non conventional manner, with a literal value on the left side and columns on the right side So instead of: (table1.id = 123 OR table2.id = 123 OR table3.id = 123) I use:…