In Time Tec Interview Question

Joins and questions around it