【发布时间】:2019-12-06 17:20:26
【问题描述】:
with cte1 as
(
select count(*) as count_emp from emp;
),
cte2 as
(
select count(*) as count_dept from dept;
),
cte3 as
(
select count(*) as count_hr from hr;
)
select count_emp,count_dept,count_hr from cte1,cte2,cte3;
我想在一列中输出三行。 有关更多详细信息,请参见图片。
【问题讨论】:
标签: sql oracle oracle11g oracle10g