mysql:

select * from table order by id DESC limit 1

oracle:

select * from emp where id in (select max(id) from emp);

Logo

更多推荐