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

Why is partition used in sql?

552


What is cte?

577


how many groups of data types? : Sql dba

569


How subquery works in sql?

545


What is the need of merge statement?

557






What is a table in a database?

584


What is the use of primary key?

539


What are the different parts of a package?

635


which command using query analyzer will give you the version of sql server and operating system? : Sql dba

531


What is sql integrity?

585


What is pl sql architecture?

504


What do you mean by table in sql?

527


What is the difference between alter trigger and drop trigger statements?

603


What is sql constant?

511


explain the options of myisamchk to improve the performance of a table. : Sql dba

549