title: Create table with attribute which must be in range of 1-10 (Postgres)
body: <p>How can i constrain an attribute in a table to only allow the value to be between 1-10?
  This is the statement so far.. Have no idea how to make the OfficeNumber only accept values in that interval</p>
  
  <pre><code>CREATE TABLE OfficeStaff(
      EID INT PRIMARY KEY,
      OfficeNumber INT NOT NULL
  ); 
  </code></pre>