2
我需要将以下用SQL-Server编写的查询转换为PL/SQL,但我无法将参数传递给子查询。如何将参数传递给Oracle中的子查询
select
p.ID,
case
when p.column1 = 1
then (select top 1 sub.column1 from internal sub where sub.Id = p.Id)
end SubQueryWithParameter
from
parent
任何想法?