No, this is the problem. They may have none, or some, or many entries in the movement table.
But I need this query to return a list of every employee, irrespective of whether they have any entries in the movement table. But if they do have entries in the movement table, I want to display the latest entry too.
But I need this query to return a list of every employee, irrespective of whether they have any entries in the movement table. But if they do have entries in the movement table, I want to display the latest entry too.