select top (select count(*)-1 from table) * from table