title: sql query returns error when using limit
body: <p>why does this query work? how am i supposed to write it?</p>
  
  <pre><code>select * from tbl_content order by year desc where visible = '1' limit 0,30;
  </code></pre>