运行代码时,我遇到错误ParseException行1:5176无法识别表达式规范中'(''SELECT''FISCL_YR_STRT_DT'附近的输入。
Where (NQCAL.FISCL_YR_STRT_DT BETWEEN ((SELECT FISCL_YR_STRT_DT FROM Database.NQ_CALENDER WHERE CALENDAR_DATE=Current_Date) - INTERVAL '1' YEAR) AND (SELECT Cast(FISCL_YR_STRT_DT AS DATE) FROM Database.NQ_CALENDER WHERE CALENDAR_DATE=Current_Date))
这应该过滤上一个会计年度和当前会计年度之间的数据