title: MySql Wrong command
body: <p>I have two tables in the sql:</p>
  
  <pre><code>client
  id   first
  1    david
  2    jenna
  3    ben
  
  rating
  id  clientid userid rating ratetext         date
  1   1        3      4      Very good        12/4/2012
  2   3        6      3      Simple bla bla   5/3/2013
  </code></pre>
  
  <p>And i want to get all the rating for a <code>userid</code>
  so i try something like:</p>
  
  <pre><code>SELECT rating,ratetext,date,first FROM rating r 
  INNER JOIN client c ON r.userid = 3;
  </code></pre>
  
  <p>But i always get the rows with other rows that i don't need to get. any idea what is wrong with my command?</p>