delete from tblBuyerMsg where (buyerinfo) in (select buyerinfo from tblBuyerMsg group by buyerinfo having count(*) > 1) AND buyername in (select buyername from tblBuyerMsg group by buyername having count(*)>1) AnD address in (select address from tblBuyerMsg group by address having count(*)>1)