Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is the difference between jpql and sql?

1099


Which software is used for pl sql programming?

993


How does one load ebcdic data? : aql loader

1178


what is the difference between a local and a global temporary table? : Sql dba

1073


How does one use sql*loader to load images, sound clips and documents? : aql loader

1187


Define join and name different types of joins?

1008


How can you save or place your msg in a table?

1003


The in operator may be used if you know the exact value you want to return for at least one of the columns.

1136


Do we need to rebuild index after truncate?

1036


What is the need of a partition key?

987


What is the difference between inner join and left join?

990


What can you do with pl sql?

1097


what are all the common sql function? : Sql dba

1061


how to use regular expression in pattern match conditions? : Sql dba

1035


Is sql free?

974