```
CREATION_DATE   REJECTED_REASON                        PART_NAME                                             REJECTED_QTY                                        
03-03-2014  Metal chips in port face            PEGEOUT 1.8 CYLINDER HEAD CASTING H29                              15
03-03-2014  Angular hole Shrinkage              PEGEOUT 1.8 CYLINDER HEAD CASTING H29                              7
01-05-2014  5th  cap side dross                 CYL.HEAD VM MOTORI-4 CYL TESTA CILINDRI LAVORATA                   23
01-05-2014  Casting broken                      CYL.HEAD VM MOTORI-4 CYL TESTA CILINDRI LAVORATA                   3
01-05-2014  Bend in dand                        CYL . HEAD VM MOTORI-4 CYL TESTA CILINDRI LAVORATA                 11           
01-05-2014  Bend in casting                     CYL . HEAD VM MOTORI-4 CYL TESTA CILINDRI LAVORATA                 17
07-05-2014  Angular hole Shrinkage              EATON REAR HOUSING H-99                                            10
08-05-2014   Unclean                            CASTING CYLINDER HEAD 01 OF KOHLER H-185                           9
08-05-2014  Angular hole Shrinkage              CASTING CYLINDER HEAD 01 OF KOHLER H-185                           1
08-05-2014  Bend                                CASTING CYLINDER HEAD 01 OF KOHLER H-185                           20
12-11-2014  Shrinkage on top face               GEAR BOX HOUSING ITL CLUTCH - ITL                                  15
12-11-2014  Casting damage                      GEAR BOX HOUSING ITL CLUTCH - ITL                                  5 
13-11-2014  1st Exhaust Port Core Shift         PIAGGIO 3 VALVE CYLINDER HEAD CASTING                              22
06-01-2015   Shrinkage in spark plug            G-30 CYLINDER HEAD REAR CASTING                                    14
08-01-2015  1st cap side dross                  G-30 CYLINDER HEAD REAR CASTING                                    6
08-01-2015   Unclean                            G-30 CYLINDER HEAD REAR CASTING                                    2 
08-01-2015   Shrinkage in spark plug            G-30 CYLINDER HEAD REAR CASTING                                    12 
13-01-2015  1st cap side dross                  G-30 CYLINDER HEAD REAR CASTING                                    1
13-01-2015  1st Exhaust Port Core Shift         G-30 CYLINDER HEAD REAR CASTING                                    9
13-01-2015   Shrinkage in spark plug            G-30 CYLINDER HEAD REAR CASTING                                    10

```

Suppose I have above values in a particular table.Now I need to sum up the rejection quantity and display rejection reasons as columns and rejection quantity as values monthwise as well as partwise 
Suppose I need the data for May 2014.The report output for the above list of values should be:-

```
PART NAME                                         5th cap side dross    Casting Broken  Bend in Casting   Bend in Dand  Angular Hole Shrinkage  Unclean Bend
CYL . HEAD VM MOTORI-4 CYL TESTA CILINDRI LAVORATA         23                   3             17               11                   0               0   0
CASTING CYLINDER HEAD 01 OF KOHLER H-185                   0                    0             0                0                    1               9   20
EATON REAR HOUSING H-99                                    0                    0             0                0                    10              0   0

```

Please help me and guide me in implementing this task in oracle through sql or pl sql.