I am currently new to PostgreSQL and learning on version 10.14. Was working on SELECT commands using the WHERE operator and confused while using the NOT option.
Objective: Retrieve data between a particular range; "marks less than equal to 35 & more than equal 60".
Issue: the difference between the two syntaxes, as results are different?
SELECT name FROM science_class WHERE science_marks not between 35 and 60;
SELECT name FROM science_class WHERE science_marks<=35 AND science_marks>=60;
Thank you, Hermes Schema