I have a table:
CREATE TABLE SYSTEM.DATA
(
USER VARCHAR2(20 BYTE),
TIME DATE,
);
INSERT INTO DATA ("USER", "TIME") VALUES ('A', '2013/3/24 AM 04:00:45');
INSERT INTO DATA ("USER", "TIME") VALUES ('B', '2013/03/24 PM 03:51:18');
INSERT INTO DATA ("USER", "TIME") VALUES ('C', '2013/03/24 PM 03:57:49');
INSERT INTO DATA ("USER", "TIME") VALUES ('D', '2013/03/25 AM 10:05:30');
INSERT INTO DATA ("USER", "TIME") VALUES ('E', '2013/03/25 AM 10:11:30');
How do I get the number of per day(being with today AM7:30,end with tomorrow AM7:29)?like this
DATE | COUNT
03/23 | 1 ~~~THIS IS 'A', '2013/3/24 AM 04:00:45'
03/24 | 2
03/25 | 2