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 are the basic techniques of indexing?

792


What is #table in sql?

711


What are the packages in pl sql?

762


Whis is not false in primary key?

1174


What is trigger in flip flop?

745


when is the use of update_statistics command? : Sql dba

697


What is sql keyword?

759


What are the types of variable use in pl sql?

763


What is the use of desc in sql?

702


what is recursive stored procedure? : Sql dba

725


How to disable a trigger name update_salary?

920


what is subquery? : Sql dba

787


What are different types of indexes?

719


what are the advantages of sql ? : Sql dba

755


What is composite primary key in sql?

722