Guest User

Untitled

a guest
Jun 25th, 2012
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. Doing a SQLite MATCH using only negated terms
  2. SELECT * FROM fruit WHERE fruit MATCH '-apple'
  3.  
  4. SELECT * FROM fruit WHERE fruit MATCH 'pear -apple'
  5.  
  6. select * from fruit where fruit NOT match 'apple'
  7.  
  8. select * from fruit except select * from fruit where fruit match 'apple';
Advertisement
Add Comment
Please, Sign In to add comment