Skip to content

Update a Column of a table after evaluating the status of columns from other tables

I have 3 tables, BaseTable, Test1Table and Test2Table

This is what the output should be:

So for the above data set: Base Table should be

Advertisement

Answer

One method uses case and exists:

User contributions licensed under: CC BY-SA
1 People found this is helpful