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...

in account table
account type amount
ac1 credit 300
ac2 debit 5000
ac3 credit 3000
ac1 debit 4000
ac3 debit 2000
ac2 credit 4000
write a query how to get sum of credit & sum of debit

Answer Posted / sanjay

select type,sum(amount)from account table group by type

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of log option in exp command.

1097


How to select some rows from a table in oracle?

1055


What are advantages of dateset in datastage?

2248


What are internal user account in oracle?

993


Why do we use bulk collect in oracle?

1044


1) Does oracle have any table which contain all the exceptions and it's code internally?

1738


How do we get field details of a table?

970


Explain mutating triggers.

1010


What privilege is needed for a user to query tables in another schema?

957


Explain the importance of .pll extension in oracle?

988


What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?

2117


What is an oracle user role?

968


Why does for update in oracle 8 cause an ora-01002 error?

983


What are the different types of modules in oracle forms?

989


What is the data pump export utility?

1061