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 / malthesh sagar

select count(acnt_type),acnt_type from a
group by acnt_type;

Is This Answer Correct ?    10 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to assign sql query results to pl sql variables?

519


How to know the last executed procedure?

598


Is sql microsoft?

556


What is trigger price?

550


Does mysql support pl sql?

634






What are data types in pl sql?

570


What does over partition by mean in sql?

543


What is the difference between a database and a relational database?

568


What does the hierarchical profiler does?

579


Explain 3 basic parts of a trigger.

847


how are mysql timestamps seen to a user? : Sql dba

571


explain the options of myisamchk to improve the performance of a table. : Sql dba

555


Which kind of parameters cannot have a default value in pl sql?

604


what is timestamp in mysql? : Sql dba

575


Can a table have no primary key?

565