title: How can I learn to optimize SQL queries
body: <p>I know how to write <code>SQL</code> queries and can get the results I need. But sometimes my queries are slow and I don't fully understand why.</p>
  
  <p>What are some good resources for learning to write efficient queries and to optimize the queries I've already written?</p>