降序: select localId from inbox order by mDate DESC limit 10; 升序: select localId from inbox order by mDate ASC limit 10;