【エラー:01】情報の取得に失敗しました。
select * from t_itg_event where delflg=0 and sst_id!=2 and sel_sys like '%SNEW%' and mng_grp=1400 and ( ( substring(date2,1,8)<=20231203 and substring(date2,9,8)>=20231203 ) or ( substring(date2,9,4)=0000 and substring(date2,1,8)<=20231203 ) ) order by substring(date2,1,8) DESC, date DESC limit 30