title: SQL Case Statement numeric and varcha
body: <p><a href="https://i.stack.imgur.com/JWxCU.png" rel="nofollow noreferrer">SQL</a></p>
  
  <p>I want to assign primary to classyear below 9 and sec 9 and above with Preschool as same</p>