how to achieve this problem?i am having table with two
colums like empno,gender.
in gender column, i am having records male,female like that
.my final output will be
male female
5 6
Answer Posted / sudeep ranjan
select gender,count(gender)as gender_count from emp group
by gender;
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the purpose of primary key?
How many types of triggers exist in pl/sql?
What is the difference between distinct and unique in sql?
What is a temporal table?
What is view explain with example?
Is drop table faster than truncate?
How can I see all tables in sql?
What is a temp table?
What is left inner join in sql?
what is index? : Sql dba
Can we use two order by clause in query?
Does sql support programming?
What is a ddl command?
What are operators available in sql?
What are tuples in sql?