MYSQL --Subquery returns more than 1 row查询结果多于一行
2013-08-28 00:39
531 查看
Subquery returns more than 1 row表示子查询返回了多行数据
例如:
select * from table1 where table1.colums=(select columns from table2)
解决方法
select * from table1 where table1.colums=any(select columns from table2)
例如:
select * from table1 where table1.colums=(select columns from table2)
解决方法
select * from table1 where table1.colums=any(select columns from table2)
相关文章推荐
- MYSQL --Subquery returns more than 1 row查询结果多于一行
- MYSQL --Subquery returns more than 1 row查询结果多于一行
- MYSQL --Subquery returns more than 1 row查询结果多于一行
- Subquery returns more than 1 row查询结果多于一行
- MYSQL --Subquery returns more than 1 row
- 【MySQL】Subquery returns more than 1 row 解决方案
- 报错 MYSQL --Subquery returns more than 1 row
- SQL 1242 subquery returns more than 1 row
- java.sql.SQLException: ORA-01427: single-row subquery returns more than one row
- SQL Error: ORA-01427: single-row subquery returns more than one row
- 错误代码: 1242 Subquery returns more than 1 row
- ORA-01427:single-row subquery returns more than one row
- 错误代码: 1242 Subquery returns more than 1 row
- ORA-01427single-row subquery returns more than one
- [Err] 1242 - Subquery returns more than 1 row
- 报错java.sql.SQLException: Subquery returns more than 1 row
- MYSQL报错Subquery returns more than 1 row查询结果多于一行
- oracle查询报这个错误:single-row subquery returns more than one row
- 解决"Subquery returns more than 1 row"sql查询错误
- 【数据库-MySql】函数 - Procedure execution failed 1172 - Result consisted of more than one row