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

What is sql and also describe types of sql statements?

1114


What is a string data type in sql?

1101


what is a foreign key ? : Sql dba

1115


What is delete command in sql?

1174


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

1155


What are the different ddl commands in sql?

1251


what is a field in a database ? : Sql dba

1099


explain the difference between bool, tinyint and bit. : Sql dba

1063


What do you understand by case manipulation functions?

1080


Is primary key clustered index?

992


Why query optimization is needed?

974


What is the sql query to display the current date?

1093


What is the maximum number of rows in sql table?

1079


What does pl sql stand for?

1156


How many types of keys are there in sql?

1087