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)

posted on 2019-06-05 13:30  毛会懂  阅读(6461)  评论(0编辑  收藏  举报