Select id,name,phone,email,CampaignMember from lead where CampaignMember=:selectedcampaign
No such column 'CampaignMember' on entity 'Lead'. If you are attempting to use a custom field, be sure to append the '__c' after the custom field name. Please reference your WSDL or the describe call for the appropriate names.
Please help me to modify this.