2024-12-06
616 reads
2024-12-06
616 reads
There are many great tutorials on syntax, performance, and keywords for invoking subqueries. However, I wish to discover a tip highlighting selected SQL subquery use cases. Please briefly describe three SQL subquery use case examples. For each use case, cover how a subquery interacts with outer queries and the T-SQL for implementing the use case. Review excerpts from each example to show the value of implementing the use case.
2023-04-14
2019-11-08
1,132 reads
In this part of the temporary data store tip series we look at using subqueries to select data as well as how to use for inserts, updates and deletes.
2019-05-22
This stairway level will expand on the subquery topic by discussing a type of subquery known as a correlated subquery, and explores what a correlated subquery is and how it is different from a normal subquery.
2019-05-08 (first published: 2014-03-05)
20,495 reads
2013-05-09
2,228 reads
2013-03-08
2,353 reads
2013-01-11
2,708 reads
2011-09-19
3,078 reads
By Steve Jones
I had someone ask me about using triggers to detect changes in their tables....
By Kevin3NF
Useful tips to make your jobs more stable Too many IT teams treat SQL...
After spending decades working in SQL Server, getting familiar with PostgreSQL felt like traveling...
We're currently on SQL 2019 and will likely be looking to migrate to a...
Hello, I have a SQL Server with an AlwaysOn configuration consisting of three replicas...
Anyone got any good advice for performance tuning CDC on a Managed Instance? We...
In a trigger, I can use UPDATE() or UPDATED_COLUMNS() to determine which columns were changed. For these functions, which one accepts a column name as a parameter?
See possible answers