Select * from table where col1 <> 'R'
col1 has various values and also has NULL how to write the where statement which includes all also the NULL value except the 'R' string
Select * from table where col1 <> 'R'
col1 has various values and also has NULL how to write the where statement which includes all also the NULL value except the 'R' string
Select * from table where col1 <> 'R' OR col1 IS NULL
For get null value use IS NULL, if you also expect value of 'R', add col1 <> 'R'.