Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

Update with Multiple Tables

$
0
0
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

Attached Files
File Type: txt Example Data.txt (180 Bytes)

Viewing all articles
Browse latest Browse all 13329

Trending Articles