some queries implemented using operations from relational algebra
- employees :: [Emp]
- clerks :: [Emp]
- richClerks :: [Emp]
- researchers :: [Emp]
- researchers0 :: [Emp]
- hierarchy :: Forest Emp
- hierarchyFast :: Forest Emp
- teamSalaries :: [(String, Int)]
Documentation
richClerks :: [Emp]Source
all clerks with salary at least 1000
researchers :: [Emp]Source
all employees in research department
researchers0 :: [Emp]Source
teamSalaries :: [(String, Int)]Source
A recursive query: Compute the total salary for each manager and the total set of employees he conducts.