title: Selecting values from one column based on a different columns value
body: <p>Having trouble stating my problem succinctly here, so I'll just give an example.<br>
  Let's say I have a DB2 table about Students:</p>
  
  <pre><code>Name           Class          Grade
  Billy J        Econ           A
  Sarah S        Maths          B
  Greg X         Computes       A-
  Billy J        Maths          D
  Greg X         Maths          C+
  </code></pre>
  
  <p>And I want to retrieve those students that are in both Econ and Maths, and display the information thusly:</p>
  
  <pre><code>Name       Maths Grade       Econ Grade
  Billy J    D                 A
  </code></pre>
  
  <p>How in the world can I accomplish this?</p>