I am new to MySQL. I created an Excel file, then saved it in CSV notepad format. The file contains some NULL values in age column. Then I imported that table into one of my existing schemas. Now when I am running query as:
SELECT * FROM mavenmovies.sql2 WHERE rep_age IS NULL;
it's not returning any rows. And when I am running query as:
SELECT * FROM mavenmovies.sql2 WHERE rep_age IS NOT NULL;
it's returning all the rows that include the rows containing NULL values in rep_age
. I checked and there is no space in the NULL cells. I don't understand why?