title: sql select row based on column is null or not
body: <p>Sample data</p>
  
  <pre><code>ID    SettingID   DifferentSettingID  Value
  1     100         Null                True
  2     100         5                   False
  3     101         Null                0
  4     101         5                   1
  5     102         NULL                100
  </code></pre>
  
  <p>Wanted results</p>
  
  <pre><code>ID    SettingID   DifferentSettingID  Value
  2     100         5                   False
  4     101         5                   1
  5     102         NULL                100
  </code></pre>
  
  <p>Where the SettingID needs to be unique</p>