I'm working on a T-SQL statement to sort out an employee list with those employees that have completed a test. This is what I have-
use employ
select Lastname, Firstname, [test1]
from dbo.EmpRecords
where [test1] is not null
order by [test1];
the query returns all and also the records with also the 'NULLS' at the end how do I get the statement to leave out the 'NULL' thanks.