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 difference between explicit and implicit cursors in oracle?
Can we update views in sql?
Can we enter data in a table in design view?
what are the differences between public, private, protected, static, transient, final and volatile? : Sql dba
What are the three forms of normalization?
How do you copy a table in sql?
What are pl/sql packages?
What is sql and also describe types of sql statements?
What is sql injection vulnerability?
Can we delete column in sql?
how to check server status with 'mysqladmin'? : Sql dba
What are the different types of constraints?
Is join and inner join the same?
What are different types of functions in sql?
What is sqlca in db2?