MySQL Forums
Forum List  »  Newbie

Re: UPDATE with HAVING...
Posted by: Peter Brawley
Date: August 26, 2015 09:39PM

The manual has clear examples of updating one of several joined tables.

You can't aggregate on the table you're updating, so you'll need a workaround like http://stackoverflow.com/questions/6898935/sql-update-query-with-group-by-clause



Edited 1 time(s). Last edit at 08/27/2015 10:31AM by Peter Brawley.

Options: ReplyQuote


Subject
Written By
Posted
August 26, 2015 07:38PM
Re: UPDATE with HAVING...
August 26, 2015 09:39PM
August 27, 2015 11:27AM
August 27, 2015 12:17PM
August 29, 2015 10:19AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.