Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这很可能是因为每个人都DATE携带的时间部分。要摆脱它,请使用 trunc 函数:
DATE
select trunc(reg_date), count(trunc(reg_date)) from reg where reg_date >= to_date('01-JAN-12', 'DD-MON-YY') group by trunc(reg_date)