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

本帖于 2004-02-06 15:24:48 时间, 由普通用户 old-cotton 编辑
回答: Advanced SQL Help Please.TellMe1232004-01-12 10:32: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--

所有跟帖: 

回复:Thanks. But in VB6... -TellMe123- 给 TellMe123 发送悄悄话 (285 bytes) () 01/12/2004 postreply 15:29:00

回复:回复:Thanks. But in VB6... -dbdb- 给 dbdb 发送悄悄话 (1157 bytes) () 01/13/2004 postreply 08:45:00

请您先登陆,再发跟帖!