sql 查询某一行中的某一列的值
我记得有select 2.....这样一个写法,忘记了,今天试的时候行不通
[解决办法]
select 列名=value from
(select row_number() over (order by getdate()) num,*
from table ) as t
where num=第几行
发布时间: 2012-04-20 15:27:03 作者: rapoo
sql 查询某一行中的某一列的值
我记得有select 2.....这样一个写法,忘记了,今天试的时候行不通
[解决办法]
select 列名=value from
(select row_number() over (order by getdate()) num,*
from table ) as t
where num=第几行