select
(
select
count(1)
from
cux_anker_smdm_calendar cal
where
cal.date between current_date() and spll.need_by_date) as workdays,
spll.need_by_date
from
sodr_po_line_location spll
以上查询报错
select
(
select
count(1)
from
cux_anker_smdm_calendar cal
where
cal.date between current_date() and spll.need_by_date) as workdays,
spll.need_by_date
from
sodr_po_line_location spll
以上查询报错
这种的还不支持