select * from t_jy_weiwaipx where pxbh not in (select pxbh from t_jy_pxban)
解决方案 »
- 百度搜索不到 xp_delete_file 这存储过程求详细用法 解释 实例
- 游标运行慢??为什么
- CAST('1.1' as float)*CAST('400' as float)为什么不等于cast('440' as float)
- 我这个查询语句出错了,谁帮我详细解释下这个查询什么意思
- 执行SQL语句提示转换数据类型语法错误,寻求帮助
- 昨天提出的生成指定要求的字符只部分解决,再次提出,请高手解决
- 我们是否可以自定义全局变量
- 急!!!如何帮我恢复这次误操作
- 在两台服务器上的数据库间创建触发器的注意事项?
- SQL 多次EXISTS语句优化,求大神解答
- 请问各位高手这个SQL语句该怎么写?
- 初次使用mysql
select * from from T_jy_weiwaipx a
where not exists (
select 1 from T_jy_pxban b
where a.pxbbh=b.pxbh
)删除:
delete a
from T_jy_weiwaipx a
where not exists (
select 1 from T_jy_pxban b
where a.pxbbh=b.pxbh
)