I think doing a simple select id, Total from bar order by id desc, Total desc limit 10; won't work since sorting by id is already exhaustive.select id, Total from ( select id, Total from bar order by id desc limit 10 ) baz order by Total desc;
In reply to Re: (OT) MySQL query to limit and sort
by rhesa
in thread (OT) MySQL query to limit and sort
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |