insert into product_agent(productId,agentId)
select top 1 'A41789B1-4CA3-48CC-82A4-2F5BCE23D424','9BAC02BD-F551-4105-95D6-E70008C5C919' from product_agent
where (select count(1) from product_agent where productId='A41789B1-4CA3-48CC-82A4-2F5BCE23D424' and agentId='9BAC02BD-F551-4105-95D6-E70008C5C919')<1