你可能要先講一下你的資料結構,這樣才有辦法幫你吧
你要不要把時間加上單引號試試 select * from detail where AddDate >= '2022-10-11' and AddDate...