I created a table with following the fields and I have used a interval field to store duration of the courses. I want to insert interval time in DD:HH and couldn't find the syntax for it.
Anybody can help me with this insertion syntax with above format DD:HH . Thanks in advance.
CREATE TABLE practical.course
(
course_id character(3) primary key,
course_name character varying(30),
duration interval,
dept_id integer references practical.department(dept_id)
)
WITH (
OIDS=FALSE
);
ALTER TABLE practical.course
OWNER TO postgres;