MySQL Forums
Forum List  »  Newbie

Re: where clause
Posted by: Peter Brawley
Date: April 02, 2017 01:06PM

... order by RecDate desc, Related desc, Placekey desc limit 55 ...

Or if you want the asc order then ...

select * from (
  Select * 
  from Records 
  where Patno = :nPatno 
  order by RecDate, Related, Placekey
) a
limit 55;

Options: ReplyQuote


Subject
Written By
Posted
April 02, 2017 12:53PM
Re: where clause
April 02, 2017 01:06PM
April 02, 2017 03:17PM
April 02, 2017 03:54PM
April 02, 2017 04:34PM
April 02, 2017 06:24PM


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.