I want get a special result from my table and i want find out that is possible !? I have a table like this: (idA , idB , val) by this values:
idA | idB | val ----+-------+---------- 1 | 5 | 50 1 | 6 | 0 1 | 7 | NULL 2 | 5 | 100 2 | 6 | 12 2 | 7 | 0
I want select from this table by a format like this:
idA | 5 | 6 | 7 ----+-------+-------+------- 1 | 50 | 0 | NULL 2 | 100 | 12 | 0
How it's possible?
Note: I have some searches and find nothing, if you know a good key word it would be useful for me.