Delete From MWPINS where ("Pin Number" = '' or "Pin Number" is null) and ("Group ID" = '' or "Group ID" is null) Select * from MWPINS