title: What is the correct order of these clauses while writing a SQL query?
body: <p>There are many clauses in SQL Server such as <code>SELECT</code>, <code>WHERE</code>, <code>GROUP BY</code>, <code>ORDER BY</code>, <code>HAVING</code></p>
  
  <p>What is the correct order of these clauses while writing a query?</p>