Great bastanu,
This was exactly what I was looking for, I did came across that 'union queary' but didn't see it fit to use, I also tried crosstab with my tab but to no good, this is exactly what I needed many thanks.
by the way where do you write this code to make that query a 'union query'...