How can we retrieve information to be a row information from column values? For example, we have a table
|-----------|-------------|--------------|
|      ID   |     Field   |  FieldVlaue  |
|-----------|-------------|--------------|
|      1    |     Name    |  Jack        |
|-----------|-------------|--------------|
|      1    |     Country |  Australia   |
|-----------|-------------|--------------|
|      1    |     PostCode|  0277        |
|-----------|-------------|--------------|
|      2    |     Name    |  John        |
|-----------|-------------|--------------|
|      2    |     address |  Wyard       |
|-----------|-------------|--------------|
|      2    |  ContactNum |  1234567     |
|-----------|-------------|--------------|
Based on the above table, how can we get a table like below
|-----------|-------------|--------------|-------------|---------|-----------|
|      ID   |     Name    |  Country     | PostCode    |Address  | ContactNum|
|-----------|-------------|--------------|-------------|---------|-----------|
|      1    |     Jack    |  Australia   | 0277        |Null     | Null      |
|-----------|-------------|--------------|-------------|---------|-----------|
|      2    |     John    |  Null        | Null        | Wyard   |1234567
|-----------|-------------|--------------|-------------|---------|-----------|
 
     
     
    