Postgresql – Join two tables on multiple columns with case that return not fully matched raws with replacement of not matched value
I have table A raw_number ars bill codt c4 1 900 603121 123 2 900 603121 YPR-003 234 3 900 603121 Psp-123 345 4 900 603121 456 5 900 603121 567 and table B raw_number ars bill codt s4 1…