Select ACCOUNT.ACCOUNT,OPPORTUNITY.OPPORTUNITYID,OPPORTUNITY.STAGE,OPPORTUNITY.STATUS, SECCODE.SECCODEDESC,SECCODE.SECCODEID from OPPORTUNITY Inner Join ACCOUNT on OPPORTUNITY.SECCODEID=ACCOUNT.SECCODEID Inner join SECCODE on OPPORTUNITY.SECCODEID=SECCODE.SECCODEID where SECCODE.SECCODEID in ('F6UJ9A00000A','F6UJ9A000007','F6UJ9A000009','F6UJ9A000003') and OPPORTUNITY.STATUS in ('Lost/Dead')
select @@ROWCOUNT
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)