Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT e.[FirstName], e.[LastName], e.[HireDate], d.[Name] AS [DeptName]
- FROM [Employees] e
- JOIN [Departments] d ON e.[DepartmentID] = d.[DepartmentID]
- WHERE e.[HireDate] > '1999-01-01' AND (d.[Name] = 'Sales' OR d.[Name] = 'Finance')
- ORDER BY e.[HireDate]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement