The question is: "Get all employees from department 10 which have a job which is also practiced in dept 30"
I want to do it in the non-ExtensionMethod format - like:
from e in emp
select e;
I tried something like that
var x =
from e in emp
where e.deptno == 10 && e.job == (from e2 in scott.emp
where e2.deptno == 30
select e2.job)
select e;
which just makes sense that it doesn't work because i can't compare string with IEnumerable
So how can I solve this?