hi,
I am afraid that this can be possible in a single SQL.
It may be possible with analysis services like cubes.
Even Is you go for manual pivoting hoe can you identify which is in Slot1/Slot2/Slot3 ... ?
If this is possible you can do a manual pivoting with a temperory table/ table datatype (MS-sql)
Prashant
|