Select * From propertystring Where id in (
Select id From propertyentry Where entity_name in('ReportConfig','reportConfig')
and entity_id not in (Select report_config_id From reportentity)
);
Select id, entity_id From propertyentry Where entity_name in('ReportConfig','reportConfig')
and entity_id not in (Select report_config_id From reportentity);