去掉``试试看
select * from table1 where name in (select name from table2 where 条件);
or
select * from table1 where table1.name in (select table2.name from table2 where 条件);
select * from table1 where name in (select name from table2 where 条件);
or
select * from table1 where table1.name in (select table2.name from table2 where 条件);
解决方案 »
- 关于get_mysql_driver_instance
- 请教高手"删除无用的上传图片"应该是个什么逻辑!
- postgresql数据库之间如何连接?如何传递数据?
- 用Hibernate+mysql提示出錯,請高手指點,謝謝
- mysql4.17支持触发器吗?
- 我问一下myqsl 日期data字体,设置默认型的,自动提取系统日期,应该如何设置字段属性啊
- 在Delphi中连接到Mysql后,如何作Dbgrid将表中数据显示出来
- sql查询问题??急需!!
- 请问:PHP+MYsql中如何用程序来修改数据库中的记录,如何删除数据记录??急??
- MySql有千万级数据,分区后,对插入数据有影响吗?
- 不敢用mysql的存储过程
- 数据导入问题
select a.* from table_1 as a, table_2 as b where a.name=b.name and ....