分页: offset 0 rows fetch next 10 rows only

select b.cp_id,c_id,cp_cId,c_confid,c_title,c_open,c_openType,c_startTime,c_endTime,cp_status,c_uId,c.u_name,d.DepName  from [dbo].[classroom] a, classProcedure b, s_User c ,s_Depart d  where a.c_id=b.cp_cId and a.c_uId=c.id and c.depId=d.ID  and c_uid in (select u.id from s_user u inner join s_depart d on u.depId = d.Id and u.depId = 10)  and cp_verifyRole = 8 and c_open = 1  and c_type = 0  and c_openType in (1,2,3)  and cp_status='0' order by  c_startTime desc offset 0 rows fetch next 10 rows only
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值