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 / sushant kumar
select sum(to_number(substr(num,1,2))) ||':'||
sum(to_number(substr(num,4,2))) ||':'||
sum(to_number(substr(num,7,2)))
from tt
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
what are properties of a transaction? : Sql dba
What is the difference between local and global temporary table?
Why do we go for stored procedures?
What is a composite primary key?
Differentiate between syntax and runtime errors.
Can you join views in sql?
What is data modelling in sql?
How to rename a table?
What is recursive stored procedure?
What is data profiling in sql?
Why commit is not used in triggers?
How can we store rows in PL/SQL using array?
What is nosql db?
What is normalization in a database?
What is the difference between functions, procedures, and packages in pl/sql?