0
What is the use of using null function.... In sql?
usage of null function
3 odpowiedzi
+ 4
select name, lastname, phone
from addressbook
where phone is null
+ 3
you can use it in your query to find empty records
of you can make records default null to avoid of wrong info
+ 2
NULL is used to filter out missing values from the table.
A scenario wherein you're supposed to get a report generated of the list of people whose last name is not null can be written as:
SELECT fname, lname
FROM people
WHERE lname IS NOT NULL;