I really regret having to ask -- but I have searched all evening and have not found a solution that resolves my question. Please excuse me.
I have an update I am trying to run on a table that references the same table. I'm pretty sure I have to go about a rename, but I can't get it function correctly. Any help would be appreciated.
Here is my query, it is accepted but it doesn't modify the table.
update parts
set price = price * .85
where price > (select avg(price));
Thanks in advance.