Skip to Main Content

SQL & PL/SQL

Pivot help - Strings not values

Mr NeilMay 24 2016 — edited May 24 2016

Hey all,

I need some direction on how to achieve the following outcome.

I've used 11g pivot before with values that suited the (mandatory) aggrigate function, but I can't see a solution for this. Any help appreciated.

   

PROJECTWORKERTHE_DATE
Project_AJohn05/23/2016
Project_AMary05/23/2016
Project_AMary05/24/2016
Project_ASteve05/24/2016
Project_AMary05/25/2016
Project_AMary05/26/2016
Project_BJohn05/23/2016
Project_BSteve

05/24/2016

  

WORKER05/23/201605/24/201605/25/201605/26/2016
JohnProject_A
JohnProject_B
Steve Project_A
Steve Project_B
MaryProject_AProject_AProject_AProject_A

Thanks.

NT

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 21 2016
Added on May 24 2016
3 comments
153 views