1 个回答
Hi Glenn,I tried your query at my sandbox works fine, didn't throw any error. Something is missing, i think so there is no wrong in SOQL. I tried this
Good Luck. Check security settings. As we know salesforce error description not always so precise.RegardsSriList<Opportunity> a = [select id, ownerId from opportunity where id in (SELECT OpportunityId FROM OpportunityLineItem WHERE Product2.family='Cloud')];