I have two tables, one with
EmployeeKey
EmployeeName
and the other with
EmployeeKey
CompanyName
Managed(Y/N)
Table 1:
1 Bob
2 Bill
Table 2:
1 Company1 Y
1 Company2 Y
2 Company1 Y
2 Company2 N
I need to query the two tables and return the employee name and company name for only the managed companies:
Bob Company1
Bob Company2
Bill Company1
Can someone help me with the query?
Thanks,
Kyle
EmployeeKey
EmployeeName
and the other with
EmployeeKey
CompanyName
Managed(Y/N)
Table 1:
1 Bob
2 Bill
Table 2:
1 Company1 Y
1 Company2 Y
2 Company1 Y
2 Company2 N
I need to query the two tables and return the employee name and company name for only the managed companies:
Bob Company1
Bob Company2
Bill Company1
Can someone help me with the query?
Thanks,
Kyle