title: How do I write an SQL query that fails?
body: <p>I need this query for testing exception handling, so I would prefer that the query is not schema dependent. I am looking for something like <code>SELECT 1;</code> but of course that doesn't fail.</p>
  
  <p>I am using Java and MySQL but I hope to find answers that doesn't depend on programming languages and/or RDBMSs.</p>