SQL Server multiple left joins with multiple inner joins - Stack Overflow

Responsive image