title: Android SQLite: Which query ("query" or "rawQuery") is faster?
body: <p>I am developing one android database application . I just want to know which code execute faster and what is the difference between them?</p>
  
  <p><strong>Query - 1</strong> =</p>
  
  <pre><code>db.rawQuery("select * from user_table where user_id =" + userId, null);
  </code></pre>
  
  <p><strong>Query - 2</strong> = </p>
  
  <pre><code>db.query(USER_TABLE_NAME, ALL_COLUMNS, "user_id = " + userId, null, null, null, null);
  </code></pre>