title: SQL Query to show string before a dash
body: <p>I would like to execute a query that will only show all the string before dash in the particular field.</p>
  
  <p><strong>For example:</strong></p>
  
  <p>Original data: <code>AB-123</code></p>
  
  <p>After query: <code>AB</code></p>