Shivani,
Why is the SELECT query pulling a completely empty record from the DB? Is it not possible to tweak the SQL to make sure only non-NULL records are selected while doing the publish in the first place?
In Datamaker, I am not aware of a way to indicate: If the value of a column or row is NULL, then exclude this record from the publish. You will need to handle it in a different way as suggested above.
If this is a time-sensitive requirement, I would recommend you to contact your CA Account Manager, who should be able to assist further with this implementation-specific request.
Thanks,
Sameer