I have two tables with one-to-many relationships: employees and companies they worked for. Something like:
Table "Employee"
ID | Name 
=============
1  | Mike 
2  | Diana
3  | Emily
Table "Positions"
ID | Position | EmployeeID | StartDate | FinishDate | ...
=============
1  | Janitor | 1 | .... 
2  | Dustman | 1 | .... 
3  | Dishwasher | 2 | ...
How do I write an SQL query that will tell me that Mike was Janitor and Dustman, and Diana was a dishwasher? Each information should be presented in a single row. Something like:
Employee | Positions 
====================
Mike  | Janitor, Dustman 
Diana | Dishwasher 
Emily | NULL 
Thank you in advance!
 
    