title: Conditional sql WHERE clause based on column values
body: <p>I have a table that stores users. Every user has an <code>ID</code>, a <code>Name</code> and an <code>Access Level</code>. The three possible <code>Access Levels</code> are <code>Administrator</code>, <code>Manager</code> and <code>Simple User</code>. </p>
  
  <p>What I want is to conditionally select from this table based on the <code>Access Level</code> value. I demonstrate the logic bellow:</p>
  
  <ol>
  <li>If user is <code>Administrator</code>, then select all users (<code>Administrators, Managers, Simple Users</code>)</li>
  <li>Else if user is <code>Manager</code> select all <code>Managers</code> and all <code>Simple Users</code></li>
  <li>Else if user is <code>Simple User</code> select only himself</li>
  </ol>
  
  <p>Is that possible?</p>