I am having trouble coming up with the SQL to update a table based on information from a different table. Each table uses a composite key and I would like to change the value of a third column on table one based on the data in a third column in Table 2.
Attachment has sample data
I need to update the MODE to 'I' when the PAT is 'AB'.
Thanks for any assistance.
Philip
Attachment has sample data
I need to update the MODE to 'I' when the PAT is 'AB'.
Thanks for any assistance.
Philip