求两个sql语句 1select * from t1 where charindex(com,'1')>02delete a from a,b where a.id=b.id 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 1错了一点1select * from t1 where charindex('1',com)>02delete a from a,b where a.id=b.id 1、SELECT * FROM Table1 WHERE CHARINDEX('1',com)>0 2deletefrom awhere a.id = b.id 2这样写应该效率更高:delete from a where exists (select 1 from b where a.id=id) 2、DELETE a FROM a INNER JOIN b ON a.id=b.id 1. select * from 表 where charindex(',1,',','+com+',')>02. delete a from a join b on a.id=b.id 刚才发过,有个地方有些出入! 新手问个小问题,导入数据库之后,如何执行脚本? 两个表的关联查询问题 状态服务器已关闭超时的 TCP/IP 连接 大家帮忙看看我这个用户权限表建得对不对啊? sql server连接问题,在线等... 查询中如何使用rtrim(在线等待) 邹建请进,请教一个MS sqlserver的 SQL语句,要求速度最快(50万行)。 网络布线问题,急救了。分不够再给。 我建库的时候把库建的太大了,现在有没有办法给他减减肥? 求SQL语句 想用ASP 生成 SQL 插入语句
1
select * from t1 where charindex('1',com)>02
delete a from a,b where a.id=b.id
delete
from a
where a.id = b.id
delete from a where exists (select 1 from b where a.id=id)
INNER JOIN b ON a.id=b.id
select * from 表
where charindex(',1,',','+com+',')>02. delete a
from a
join b on a.id=b.id