i have to lower the price with 2% for each item where the capacity is more than 200 pcs using two tables where the id's have to be the same and i can not pass this error: ORA-00933: SQL command not properly ended
'Catalog' is a table and 'Order' is the second table
update Catalog
set price = (price - price*0.02) from Catalog inner join Order on
(Catalog.idf = Order.idf and Catalog.idp = Order.idp)
where quantity > 200;
what could be the bug here? thanks!