I have a db schema and I am quite not so familiar with T-SQL, I know, ORM’s ruined me. Developers 🙂
This is the schema.
Table1 1 – 1 to three tables (Table2, Table3, Table4) and each Table(2,3,4) 1 – 1 to a Table5.
Graph (try) representation:
Table1 1<->1 Table2 1<->1 Table5
1<->1 Table3 1<->1 Table5
1<->1 Table4 1<->1 Table5
I need a query to retrieve all Table1 records and their corresponding relationship data, Table1,Table2,Table3 and their relationship data to Table5.
Any help appreciated.
Thank you.
What I actually needed was this: