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

Inline the values in PL/SQL, what does it mean.?

1229


How can you select unique records from a table?

1079


Why is stored procedure faster than query?

961


What is materialized view. What are different methods of refresh?

1393


How many times can we commit in a loop?

1021


What is sql query optimization?

1122


What is execution plan in sql?

1049


What is coalesce in sql?

1061


What is embedded sql with example?

1056


Is there any restriction on the use of union in embedded sql?

1157


What is sql profiler in oracle?

1095


Explain scalar functions in sql?

1068


How to write pl sql program in mysql command prompt?

1100


What are the different schemas objects that can be created using pl/sql?

1029


What is java sql driver?

1125