回复:如果要求第8行的结果

来源: 2004-01-12 12:41:00 [旧帖] [给我悄悄话] 本文已被阅读:

SELECT IDENTITY(int, 1,1) AS row_Num
, au_id
into #authors
FROM pubs..authors
GO

select *
from
pubs..authors a1
, #authors a2
where
a1.au_id = a2.au_id
and a2.row_Num = 8
Go

drop table #pubs
GO



--文学城www.wenxuecity.com--