title: How to use rawQuery with where clause?
body: <p>I am using WHERE clause in rawquery to retrieve data from SQLite database as follows:</p>
  
  <pre><code>public Cursor Return_SMS(String contact_no)
      {       
          SQLiteDatabase db=this.getReadableDatabase();        
          //String[] params=new String[]{contact_no};
  
           Cursor c=db.rawQuery("SELECT * FROM "+ "SMS_TABLE_RCV"+" WHERE "+ "Phone_number " + " = " + contact_no,null);
  
          return c;
      }
  </code></pre>
  
  <p>But no data is retrieved. How can I get data with Phone_number equal to values I pass from an Activity in cursor as "contact_no" ?</p>