Hi nadeem1218,
Refer below sample.
SQL
DECLARE @TestTable AS TABLE(ID INT, Name VARCHAR(20),CheckIn DATETIME,CheckOut DATETIME)
INSERT INTO @TestTable VALUES(1,'John Hammod','2019/06/12','2019/06/13')
INSERT INTO @TestTable VALUES(2,'Mudassar Khan','2019/06/13','2019/06/14')
INSERT INTO @TestTable VALUES(3,'Suzanne Mathews','2019/06/14','2019/06/15')
INSERT INTO @TestTable VALUES(4,'Robert Schidner',NULL,NULL)
SELECT ID,Name,CheckIn,CheckOut,CASE
WHEN CheckIn IS NULL AND CheckOut IS NULL THEN 'ABSENT'
ELSE 'PRESENT'
END 'IsAbsent'
FROM @TestTable