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
What is procedure explain with program?
Can we call procedure in select statement?
How can we find duplicate records in a table?
How consistent is the view of the data between and within multiple sessions, transactions or statements ?
how can we destroy the session, how can we unset the variable of a session? : Sql dba
What is the use of sql trace?
How do I start sql from command line?
Is sql microsoft?
What is the most important ddl statements in sql are?
Do prepared statements prevent sql injection?
what is sql profiler? : Sql dba
what are the differences among rownum, rank and dense_rank? : Sql dba
what is an index? : Sql dba
i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5
What is anonymous block in sql?