I'm trying to order a query by two keys. For instance ... the first key is percent relevance (percent_rel), the second key is date_submitted. In any group of selections there will be many that have the same percent_rel, when there is I want those within that group ordered by date.
Right now my statement is:
"SELECT * from search ORDER BY percent_rel DESC LIMIT 0,49";
What do I say to get it to have this second level of ordering where it orders by most recent date submitted?
For output something like:
100% Jan 15, 2002
100% Jan 4, 2002
100% Dec 23, 2002
75% Jan 26, 2002
56% Feb 12, 2002
thanks,
cdherold