title: Need help in SQL query .Please
body: <p>I have a table like these.</p>
  
  <pre><code>+----------+-----------+
  | UserId   |   Name    |
  +----------+-----------+
  | 1        |  Asar     |
  | 2        |  Bozz     |
  +----------+-----------+
  </code></pre>
  
  <p>and</p>
  
  <pre><code>+---------+-----------+-------------+
  | TestId  |  UserId   |  TestResult |
  +---------+-----------+-------------+
  | 1       |  1        |  10.0       |
  | 2       |  1        |  11.0       |
  | 3       |  1        |  33         |
  | 4       |  1        |  14.0       |
  | 5       |  1        |  16.0       |
  +---------+-----------+-------------+
  </code></pre>
  
  <p>Final result i need is :</p>
  
  <pre><code>+------------+-----------+-----------+-----------+-----------+----------+
  | Name       |  Result1  |  Result2  |  Result3  |  Result4  |  Result5 |
  +------------+-----------+-----------+-----------+-----------+----------+
  | Asar       |  10.0     |  11.0     |  33       |  14.0     |  16.0    |
  | Bozz       |  0        |  0        |  0        |  0        |  0       |
  +------------+-----------+-----------+-----------+-----------+----------+
  </code></pre>