Skip to main content
 首页 » 数据库

MYSQL --Subquery returns more than 1 row查询结果多于一行

2022年07月18日184java哥

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)


本文参考链接:https://www.cnblogs.com/maohuidong/p/10979070.html