I am inserting data into an SQL table. I needed to separate columns for date, and time. I defined it as:
CREATE TABLE Appointment (
"Date" DATE,
"Time" DATE);
and then I inserted values:
INSERT INTO Appointment VALUES ('10/Jan/2020', to_date('9:00:00 AM','hh:mi:ss am');
INSERT INTO Appointment VALUES ('15/Feb/2020', to_date('10:00:00 AM','hh:mi:ss am');
However, when I tried to display the values, all of the "Time" values were equal "1-Dec-2020", but the sorting based on the "Time" worked properly. Can I hide this "dd-mon-yyyy" from displaying, or remove it from the dataset?
This is how the output is displayed, I want to see my hh:mm:ss am format:

Unfortunately, I am working on Oracle SQL, so I cannot use TIME function.