Cross Tab Query

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
tqmd1
Forum Newbie
Posts: 7
Joined: Sat Nov 09, 2013 1:07 am

Cross Tab Query

Post by tqmd1 »

Sir I want to generate a query which will convert data from rows to columns

I have this table

Image

I want to get this result

Image

Workers amount will go to column in relevant data

Group by code.

Please help
Post Reply