select top 1*from table1 order by id desc
select * from table1where id=(select max(id) from table1)
第一条查询语句比较好