title: How do I get a column instead of rows as a result in sql
body: <p>MY table is similar the one below. My goal is to get the total points of each person ( WHERE username = 'Bobby' OR username= 'George') and return the result in columns instead of rows. (Note: I have more than two username in my table and each of them contain specific points, in this case I am trying to retrieve the specific total points based on two people specified).</p>
  
  <pre><code>id   |   username   |   points
  1        Bobby            1
  2        George           3
  3        Bobby            2
  4        Bobby            2
  5        George           1
  </code></pre>
  
  <p>Desire Results:</p>
  
  <pre><code>column_1(Bobby)  |  column_2 (George)
         5                  4
  </code></pre>