MySQL tricks

Ahhh... MySQL.
Don't you remember those big queries for blind injection ? ... I don't.

Blind injection

Conditional error

Sometimes you need to throw an error depending on a condition.