title: How to use where clause with ORDER BY in sqlite iphone
body: <p>I have table from which i want that it should fetch data by desc views but where cluase using here is the query it does not return any thing.</p>
  
  <pre><code>                 select = [[NSString alloc] initWithFormat:@"select * FROM ContentMaster WHERE ContentTagText ORDER BY Views DESC ='%@'",appDelegate.tagInput];
  </code></pre>
  
  <p>If remove where clause then it shows data in desc.</p>