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 / ramesh

Select count(id), accnt_type from Account
group by accnt_type;

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a sql query to get the third highest salary of an employee from employee_table?

1027


i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this

1537


Is it possible to remove child records without removing master table records...the two having pk,fk relationship?

1218


Define a temp table?

965


what is datawarehouse? : Sql dba

952


Lookups are a key component in sql server integration services (ssis). Explain its purpose?

956


what is 'mysqlshow'? : Sql dba

974


which tcp/ip port does sql server run on? : Sql dba

964


Why cannot I use bind variables in ddl/scl statements in dynamic sql?

1133


Mention what pl/sql package consists of?

938


How do you use join?

887


What is pl sql quora?

1071


How does an execution block start and end in pl sql?

900


What are the different types of functions in sql?

996


What are sql*plus environment variables?

1030