1web
select rownum ,a.* from t_table a where rownum <100
2svg
SELECT * FROM ( SELECT *,ROWNUM rn FROM t ORDER BY inputDate DESC ) WHERE rn = 1