解决方案 »
- 高分求动态库里访问数据库的示例
- 查询条件是以数据集的情况呈现怎么办
- 求一SQL,怎么查有交点的两条线路?
- SQL2008 实现类似淘宝的底层数据结构
- 是否有 SQL语句或者系统存储过程取出一个表的Primary Key
- 有办法编写超出指定时间自动改变另一个列的值吗?
- 请教~~一个棘手的问题,连接SQL SERVER失败!
- 1=1的条件对搜索效率有多大影响?!
- 那位高手帮我看看这个存储过程有哪些语法错误
- 问题解决了,谢谢大力,运行时候有几处运算是报错,麻烦大力和各位高手看看。
- 高手請進,爲什麽翻來覆去的計算就是不對呢
- windows server 2008 是否可安装 SQL Server 2000,需要注意哪些?
delete from table2 where pid in(select PID from table1 where intime>2012-1-1 and sex='男')
delete from table1 where intime>2012-1-1 and sex='男'
delete from table2 where pid in(select pid from table1 where intime>2012-1-1 and sex='男')
delete from table3 where pid in(select pid from table1 where intime>2012-1-1 and sex='男')
delete from table1 where intime>2012-1-1 and sex='男'
delete from table2 where pid in(select PID from table1 where intime>2012-1-1 and sex='男')
delete from table1 where intime>2012-1-1 and sex='男'
牛,没想到居然用in就ok了
谢谢你