Get a list of Master records from a list of child records
15544
General trigger bulkification - best practices
133021
Retrieving all PK and FK
5603
Summary table with a field that shows components of each summarized record
131774
get a recursive parent list
47514
How can I select rows from a hierarchical query with the lowest level?
84352
LINQ - Full Outer Join
110439
How to get first record in each group using Linq
129322
Many To many for Bulk records
66242
Use LINQ to get items in one List, that are not in another List
96422
Winter 18  does not get values from a parent record
101389
Get 10+ Level Hierarchy Relationship
27912
How do I get list of all tables in a database using TSQL?
117784
Merge multiple List from queries
70002
Retrieve all parent keys of a given child key in Array
77921
Query to collect the recent TimeSampled row using inner joins in MS SQL
14510
Get list of databases from SQL Server
37566
How to create a SQL Server function to "join" multiple rows from a subquery into a single delimited field?