我写了一个sql查询
select a.unit_code unit,
a.gh_vill pl_vill,
a.gh_grow pl_grow,
(select gh_area
from w_cane_survey_2013 b
where b.croptype_code > 12 and a.gh_no = b.gh_no ) as paudha,
(select gh_area
from w_cane_survey_2013 b
where b.croptype_code < 13 and a.gh_no = b.gh_no) as pedi
from w_cane_survey_2013 a
where a.unit_code = '03' and a.gh_vill = '9991' and gh_grow = '1';
当我执行它时出现错误
ORA-01427: 单行子查询返回多于一行
01427. 00000 - “单行子查询返回多于一行”
*原因:
*操作: