Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sql is null or empty

WHERE ISNULL(column_name);
#Can also use
WHERE column_name IS NULL;
#Example with join
SELECT title FROM series
LEFT JOIN reviews
    ON series.id = reviews.series_id
    WHERE ISNULL(rating);
Source by www.sqltrainingonline.com #
 
PREVIOUS NEXT
Tagged: #sql #null #empty
ADD COMMENT
Topic
Name
4+4 =