Hi @Shambhu Rai
Try something like this
%sql
DELETE FROM Sales.SalesPersonQuotaHistory
WHERE BusinessEntityID in (
SELECT spqh.BusinessEntityID
FROM Sales.SalesPersonQuotaHistory AS spqh
INNER JOIN Sales.SalesPerson AS sp
ON spqh.BusinessEntityID = sp.BusinessEntityID
WHERE sp.SalesYTD > 2500000.00)