title: SQL LIKE peculiarity-all characters or all digits
body: <p>Just stuck on sql-ex #35 lesson, please suggest.</p>
  
  <p>The database table consists of :
  Product(maker, model, type)</p>
  
  <p>Question:
  In Product table, determine the models which consist only of digits or only of latin letters (A-Z, case insensitive). Result set: model, type of model.</p>
  
  <p>My query looks like following:</p>
  
  <pre><code>SELECT model, type
  FROM Product
  WHERE
  model LIKE '[0-9]%'
  OR model LIKE '[a-z]'
  OR model LIKE '[A-Z]'
  </code></pre>
  
  <p>Result is following: Incorrect.</p>
  
  <p>Your query produced correct result set on main database, but it failed test on second, checking database. * Wrong number of records (more by 26)</p>