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

i have a table with fields(id,name,accnt_type)and in account
type are FD,SAVING,RD. Write a query to get How many number
of People are in each type of Account?

Answer Posted / jithu

Select count(accnt_type), accnt_type from Account where
accnt_type in
(FD,SAVING,RD) group by accnt_type having count(accnt_type)>0;

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to return an array from java to pl/sql?

1177


What are data types in pl sql?

1193


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

1033


How do you use a while loop in pl sql?

1050


In a distributed database system, can we execute two queries simultaneously?

1150


what is union, minus and interact commands? : Sql dba

1249


what is a composite key ? : Sql dba

1098


What is the execution plan in sql?

1068


What is a sql profiler?

1063


how to shut down the server with 'mysqladmin'? : Sql dba

1047


Is vs as in pl sql?

1033


How to get each name only once from an employee table?

1153


Define SQL and state the differences between SQL and other conventional programming Languages?

1260


What is sql in oracle?

1105


What is the non-clustered index in sql?

1102