I've got two tables:
table A
PK TBL_A_ID ITEM
0001 12345678 apple
0002 23456789 banana
table B
PK TBL_A_ID DESTINATION
0001 12345678 Boston
0002 23456789 London
0003 23456789 Rome
0004 12345678 Beijing
I want to change table B DESTINATION to "Shanghai" if the ITEM is "banana".
table B (expected result)
PK TBL_A_ID DESTINATION
0001 12345678 Boston
0002 23456789 Shanghai
0003 23456789 Shanghai
0004 12345678 Beijing
Can it be done with one one line of statement?