MySQL Forums
Forum List  »  Newbie

Re: Select the most frequent value of each year in the db
Posted by: Peter Brawley
Date: May 06, 2020 08:09AM

Several ways to do it ... if you have 8.0 then a Common Table Expression is the most elegant, see "Within-group aggregates" at https://www.artfulsoftware.com/queries.php

Options: ReplyQuote


Subject
Written By
Posted
Re: Select the most frequent value of each year in the db
May 06, 2020 08:09AM


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.