Here are two tables, table A and B.
I would like to add two columns of table A (PERSON_ID and MAIN_SICK) to table B, referring to the KEY_SEQ columns in both tables (table A and B).
Can you plz help me to build a SQL query?
I want the exactly same table like "Result".
Thank you!