I have a table salary, and when I select it, it looks like this
How can I make the result look like this instead? I guess there some kind of group function included in the answer...
Code:
Name Year Income ------------------------------- James Smith 2008 33000 James Smith 2007 32000 James Smith 2006 31300 James Smith 2005 30100 James Smith 2004 28000 Oliver M. 2008 19700 Oliver M. 2006 18000 Oliver M. 2005 16000
Code:
Name 2008 2007 2006 2005 2004 --------------------------------------------- James Smith 33000 32000 31300 30100 28000 Oliver M. 19700 null 18000 16000 null
Comment