Re: how to get a date (get rid of the time part) from a date columns?# Database - 数据库a*c2002-12-11 08:121 楼select to_char(my_date,'YYYYMMDD'), count(*)from my_tabgroup by to_char(my_date,'YYYYMMDD')