table having two columns - entity,zone
enity zone
pen east
pen west
pen north
pen south
pen east
pencil east
pencil east
pencil west

I want the output as :
entity east west north south
pen 2 1 1 1
pencil 2 1 0 0

Answer Posted / lizamishra15

pls answer me this qeustion

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a recursive join sql?

595


Does pdo prevent sql injection?

520


How do I start sql profiler?

555


What are the types of records?

527


what is bdb (berkeleydb)? : Sql dba

567






Can we commit inside a trigger?

547


what is 'mysqlimport'? : Sql dba

571


What are the different types of a subquery?

521


Table A Table B 1 1 2 1 3 1. Union & union all --> A Union B , A Union all B 2. Minus , Intersect --> A minus B , B Minus A , A Intersect B 3. Joins A join B , A Left Join B A Right Join B , A full Join B 4. %Type - Uses & Benifit 5. Truncate & Delete 6. Pragma Autonomus Transaction 7. how to Perform DDL from function or procedure 8. Can we have DML inside Function 9. Rank & Dense Rank diffrence 10. Water Mark in Oracle 11. Index , Can we have index in all column of table if no then why ?

534


Explain the order of sql statement execution?

610


What is difference between function and trigger?

546


how to load data files into tables with 'mysqlimport'? : Sql dba

520


What do you understand by case manipulation functions?

541


Where is all the data on the internet stored?

553


Does sql*plus have a pl/sql engine?

569