[Solved] SQL where clause two seperate values? [closed]

[ad_1]

You have to join the the employee table twice:

select distinct employee.LastName, employee.EmployeeId, manager.Lastname
from 
 customer 
 join     employee as employee on customer.SupportRepId = employee.EmployeeId
 join employee as manager on employee.ReportsTo = manager.employeeId
where customer.Country = 'Canada'

0

[ad_2]

solved SQL where clause two seperate values? [closed]