必须知道一个共同字段,假设为 idselect * from dir_list where not exists(select * from dir_allot where id=dir_list);
解决方案 »
- mysql数据导入问题
- update 多条记录问题
- mysql数据 创建用户分配权限出错 GRANT ALL PRIVILEGES ON *.* TO 'shsadmin'@'%'
- phpMyAdmin安装问题
- 想让postgresql每天对某表自动插入一行,该如何实现呢?求教
- postgres中大字符串用什么数据类型保存好?
- 求几个mysql的存储过程,学习里面的语法
- 求一条ORACLE查询语句转成MYSQL的语句
- 怎么样把mysql的数据库转换为access数据库???
- c# 连接 mysql问题
- 怎么把MYSQL的数据导入到ORACLE?
- unable to open libsqlmy.so? ---(in linux,kylix),I found it in .../kylix/bin,why can't open???
select dir_list.* from dir_list left join dir_allot on dir_list.id=dir_allot.id
where dir_allot.id is null
where dir_allot.id is null