取上一条,下一条

select * from yx_article where id=(select min(id) from dbo.yx_article where id>4)
select * from yx_article where id=(select max(id) from dbo.yx_article where id<4)
posted @ 2008-10-04 01:33  scgw  阅读(245)  评论(0编辑  收藏  举报