摘要: use pubsgoif exists(select name from sysobjects where name = 'emp')drop table empgo--复制表select emp_id,fname,lname into emp from dbo.employee--select * from emp--例如,求第3页,每页10条--即第21到30条记录select top 10 * from empwhere emp_id not in(select top 20 emp_id from emp order by emp_id)order by emp_id- 阅读全文
posted @ 2010-09-03 11:09 魔力鸟 阅读(287) 评论(0) 推荐(0) 编辑