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

State some properties of relational databases?

760


How insert into statements in sql?

789


What is the difference between function and procedure in pl/sql?

748


Explain character-manipulation functions?

836


What is a database event trigger?

799






What is pl sql block in dbms?

708


How do I order by ascending in sql?

741


Does mysql support pl sql?

811


What is bulk compiling in pl/sql.?

798


how to start mysql server? : Sql dba

864


What is a sql select statement?

764


What is right join in sql?

744


Write a query to display the current date in sql?

737


What are all different types of collation sensitivity?

737


What is cold data?

678