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 makes a good primary key?
How to avoid duplicate records in a query?
what is dbms? : Sql dba
How do you explain an index number?
What do you understand by exception handling in pl/sql?
What are triggers and its uses?
What is a string data type in sql?
What is data definition language?
How to call shell script from pl sql procedure?
What is rollback?
How do I view a table in sql?
Why do we use procedures?
What is input buffer in sql*plus?
What are procedures used for?
what is user defined functions? : Sql dba