title: SQL Statement With Time
body: <hr>
  
  <p>Hello
  I need to list the shifts that contains this period between 22:00 and 05:00:</p>
  
  <pre><code>SELECT * 
  FROM shift 
  WHERE hourstart&gt;='22:00:00' AND hourend&lt;='05:00:00'
  </code></pre>
  
  <p>How can i do it?</p>
  
  <p>Thank you</p>