There are 2 trunc() in the where below and missing in the query above.
Using trunc() against a date cuts off the time and makes dates like '01.12.2021 01:23:34' to look like '01.12.2021 00:00:00'.
Thus, lines having icd_create_dt = '30-nov-2020 13:24' will be in the output of the first query and be shown in your test query
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…