sql语句的请教?(查找连续数据中的一个空缺数据) http://expert.csdn.net/Expert/topic/1131/1131325.xml 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select isnull(min(a+1),1) from (select a from test_inc union select 0 from test_inc) t where not exists (select 1 from test_inc where t.a+1 =test_inc.a)对于表test_inc 查字段a的空缺 找出多个空缺:http://expert.csdn.net/Expert/topic/1021/1021698.xml?temp=.9253351 找多个空缺:http://expert.csdn.net/Expert/topic/1021/1021698.xml?temp=.9253351 求这句语句的写法 关于连接查询的一个问题 请教个left join问题,select a left join b,这个b有个where条件,写哪儿比较规范呢? 有关插入数据时自动添加时间的问题,高手帮忙!谢谢了! 一次查询得到多个统计数据 如何实现动态定义变量? 两表合并取全值的问题,虚心请教高手! 数据库汇总查询 复杂的行列转换问题,加班汇总 在存储过程中分辨登录进的用户名 版主,高手,大侠请你们帮忙....在线等待,谢谢!!! 分组显示的问题!请各位大侠出手帮忙!!!!!!
select isnull(min(a+1),1) from (select a from test_inc union select 0 from test_inc) t where not exists (select 1 from test_inc where t.a+1 =test_inc.a)对于表
test_inc 查字段a的空缺
http://expert.csdn.net/Expert/topic/1021/1021698.xml?temp=.9253351
http://expert.csdn.net/Expert/topic/1021/1021698.xml?temp=.9253351