i have 2 tables fooditem and food_serve .i can view the data i want to change with
SELECT food_serve.food_serve_cost
FROM fooditem INNER JOIN food_serve
ON fooditem.food_item_no= food_serve.food_item_no and fooditem.food_type = 'M'and food_serve.food_serve_size = 'ST';
But im trying to update the values like this however its throwing errors at me
update q
set q.food_serve_cost = q.food_serve_cost *1.15
from food_serve q
inner join fooditem a
on q.food_item_no = a.food_item_no
where a.food_type = 'M' AND q.FOOD_SERVE_SIZE = 'ST';
after research i found that from cant be used in update but i cant find a fix for this Any help please? im using oracle sql developer