最大记录数是什么?declare @a int
select @a=max(id) from tablename还是?declare @a int
select @a=count(*) from tablename