how to insert values like 10:10:00,30:25:00 etc.into table
after insert how can i sum the above insert values to get
the result as 40:35:00

Answer Posted / avi007

select sum(hiredate,'hh') ||':'|| sum(hiredate,'mm')
||':'|| sum(hiredate,'ss') from emp;

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which constraints we can use while creating database in sql?

790


How do you define a foreign key?

718


Explain cursor types?

750


What are its different types of dbms?

713


What are the different types of triggers?

773






Explain sql data types?

830


What is difference between sql function and stored procedure?

679


What is blind sql injection?

755


ERROR:Insert or update on table"accnt" violates foreign key constraints "acct_to_curr_symbol" DETAILS:KEY(accnt_curr_id)(-2)is not present in the table "curr_symbol" ......solve The Problem..

2176


What is trigger types of trigger?

718


What is the best sql course?

720


What are the ways on commenting in a pl/sql code?

671


What do you mean by field in sql?

785


What is sql partition?

752


What is bulk collect in pl sql?

727