Question : Using a join in a where clause

I need to do a join clause for an update. Thanks
1:
2:
3:
4:
5:
update items 

set items.catcode='OUTLET'

where stock.isbn='OUTLET' and stock.number=items.item

Answer : Using a join in a where clause

update items
set items.catcode='OUTLET'
from items inner join stock on stock.number=items.item
where stock.isbn='OUTLET'
Random Solutions  
 
programming4us programming4us