I have a Itemmaster
table and want to update the price from the itemmaster
table into DailySales table.
ItemMaster (ItemName, Price)
DailySales (Date, ItemName, Price)
My query is:
update DailySales a
set Price = (select b.price
from DailySales a, Itemmaster b where a.itemname = b.itemname)
The above query fails. Thanks in advance