MySQL Forums
Forum List  »  Newbie

Re: Query on a table
Posted by: Phillip Ward
Date: August 15, 2014 04:48AM

Something like this, perhaps?

select    DayOfWeek( death ) day 
,         count( * ) tally 
from      president 
group by  DayOfWeek( death ) 
order by  tally 
limit     1 ;

Regards, Phill W.

Options: ReplyQuote


Subject
Written By
Posted
August 14, 2014 11:48PM
Re: Query on a table
August 15, 2014 04:48AM
August 19, 2014 12:56AM
August 19, 2014 05:35AM


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.