Postgresql – postgres query multiple tables to check if a value already exists
I have two tables A and B each with unique constraints for appid and name columns to ensure name is unique for each appid. However, now I also need to ensure that name value is unique across the both tables.…