Snippets

Snip 1 - Basic where
 SELECT * FROM products WHERE category = 'user_input' AND released = 1
Snip 2 - User Password check
 SELECT * FROM users WHERE username = 'wiener' AND password = 'bluecheese'`

###### Snip 3 - union quire

 SELECT a, b FROM table1 UNION SELECT c, d FROM table2