更新时间:2022-01-17 22:28:15
来自外部 select 的列在子选择中可见.
select
Columns from outer select are visible in sub-select.
您的查询相当于:
select * from test1 where test1.id1 in (select test1.id1 from test2);
带有语法错误的 PostgreSQL 子查询给出了有效的结果
带有语法错误的PostgreSQL子查询给出了有效的结果