title: Combining two mysql rows with a duplicate id
body: <p>I have a database in which users can submit information about how many steps they've taken and I am trying to pull it to make a leaderboard as such but due to it being submitted in singularly, they pull separately. </p>
  
  <pre><code>SELECT step_count.steps, step_count.email, logins.FirstName, logins.LastName
    FROM step_count, logins
    WHERE step_count.email=logins.email
  </code></pre>
  
  <p>This is the query and this is how the information is being pulled </p>
  
  <pre><code>steps | email                          | FirstName | LastName
  
  5000  | one@test.com                   | One       | onetest
  300   | two@test.com                   | Two       | twotest
  200   | one@test.com                   | One       | onetest 
  </code></pre>
  
  <p>Is there a way to combine the two together to get the total amount of steps?</p>