[Solved] insert only time in oracle [closed]
You just need basic date arithmetic, and the plain old date type. CREATE TABLE doctor_visits ( doctor_id NUMBER NOT NULL, in_time DATE NOT NULL, out_time DATE NOT NULL ) / I presume you want to find doctors who were in the hospital at 10:00am, as opposed to doctors who visited exactly at 10AM SELECT doctor_id … Read more