I have three tables in sql server like table A Table B table C.
How can I join 3 tables as shown in the image below?
Additional info needed to get the correct piece of code, but from the image you need LEFT JOIN s.
(id was assumed)
SELECT * FROM Customers c LEFT JOIN Items i ON c.iid = i.id LEFT JOIN Sales s ON c.sid = s.id