select * from b where b.pid not in(select pid from a)
解决方案 »
- mysql绿色版Access denied for user 'ODBC'@'localhost' (using password:NO)
- grouy+having怎么用来?求最简单的例子
- 这样的查询能否实现?
- mysql-bin.log not found
- mysql do while 问题
- 求一条sql语句……急用!
- sql
- 有个关于mysql数据库的数据查询的问题请教大家!
- 怎样建一个库,建一个表!!现在只有命令窗口!!有没的可视话的??
- 各位高手:linux下1、如何配置tomcat的web.xml2、用jdbc连接MySQL的一个问题
- [order by]关于提高排序速度的几个疑惑
- 这条SQL该如何写?
select b.pid from b left join a on b.pid = a.pid where a.id is null;