title: android sqlite query with offset doesn't return desired rows
body: <p>I'm using the following code to get a list of notifications <strong>(total rows are 21)</strong>:</p>
  
  <pre><code>List&lt;Notification&gt; list = new ArrayList&lt;Notification&gt;();
  Cursor c = _db.query(TABLE_NAME, COL_ALL, null, null, null, null, order, get_limitStr(offset));
  if(c != null &amp;&amp; c.moveToFirst())
  {
      while(!c.isAfterLast())
      {
          Notification model = cursorToModel(c);
          if(model != null)
          {
              list.add(model);
          }
          c.moveToNext();
      }
      c.close();
  }
  </code></pre>
  
  <p>and the generated query for offset = 0 is </p>
  
  <pre><code>SELECT Id, Token, Title, Read, Message, Image, CreateDate, CreateDateFA FROM Notifications ORDER BY CreateDate DESC LIMIT 20,0
  </code></pre>
  
  <p>and it works as it's supposed to and returns 20 rows, when I increase offset by 1 (offset = 1) it returns only 1 row which is correct but the problem is when the offset is bigger than 1 then the query will be</p>
  
  <pre><code>SELECT Id, Token, Title, Read, Message, Image, CreateDate, CreateDateFA FROM Notifications ORDER BY CreateDate DESC LIMIT 20,2
  </code></pre>
  
  <p>and I thought it supposed to skip 20 * 2 rows and then starts taking rows from there, which either my thought or my query is wrong. What am I doing wrong here? Thanks</p>