title: SQL: Retrieve value from a column that occurred least number of times
body: <p>I have a table which have a single field. and it have a values like (3,7,9,11,7,11)
  Now I want a query which will pick the value that occurred least number of times and if there is a tie with minimum occurrences then use the smallest number</p>
  
  <p>In this case the answer will be 3.</p>