As someone who has worked with SQL Server for many years, I know how important it is to understand the different types of joins. Inner join, left outer join, and right outer join are the most commonly used joins in SQL Server. Understanding the differences between these join types is essential for creating efficient and accurate queries.   Inner join is …

Inner vs Left Outer vs Right Outer JOIN Types Read more »

Commenting for SQL Server in TSQL is a powerful and useful feature that allows developers to annotate and document their code in a clear and concise manner. By including comments in their TSQL code, developers can provide context, explain complex logic, and make it easier for others to understand and maintain their code. There are two types of comments in …

Comments in TSQL Read more »

In SQL, a LEFT OUTER JOIN is a type of JOIN operation that combines data from two tables, based on a JOIN condition. This type of JOIN is called an outer JOIN because it includes not only the matching rows from the tables, but also the rows from the left (or first) table that do not have a matching row …

Left Outer Join (Left Join) Read more »

A LEFT OUTER JOIN with exclusion is a type of JOIN operation in SQL that combines data from two tables, based on a JOIN condition, and excludes the rows that match the JOIN condition. This type of JOIN is called an outer JOIN with exclusion because it includes the rows from the left (or first) table that do not have …

Left Outer JOIN with Exclusion Read more »

A SQL Server inner join is a type of join that combines records from two or more tables in a database based on the values of the joined columns from each table. Inner joins only return rows that have matching values in the joined columns. In contrast, an outer join will return all rows from one table, and any matching …

Inner Join vs. Outer Join Read more »

Here is a sample query using the MIN and MAX functions in T-SQL: This query selects the minimum and maximum values for the Price column from the Products table. The results of the query will be a single row containing the minimum and maximum values for the Price column. Here is how the query works: Want to learn more about …

Min and Max Aggregate Functions in TSQL Read more »

It is that time of the year again, November, the month where we have the lowest prices on our SQL Server courses, and where we have weekly promotions, finally wrapping up with our Thanksgiving, Black Friday and Cyber Monday Sales at the end of the month. As Stedman Solutions we treat the whole month of November as a sale month …

November is SQL class discount month Read more »

Current SQL Server course coupon codes and on going deals you can only get from Stedman Solutions! 25% Off in July! Coupon Code: DATABASEHEALTH Learn how to monitor your wait statistics, you blocking queries, and to find out the best ways to improve performance with what you learn. With this course you will also receive 20 Database Health Monitor server …

Stedman Solutions Coupons and Deals Read more »

Current Stedman Solutions SQL course coupon codes and on going deals you can only get from Stedman Solutions! 50% Off Our Newest Course! Coupon Code: FEB-RELEASE50 Using our instruction and scripts included in this course you will successfully configure email notifications when blocking occurs. Address blocking BEFORE it takes down your system. See All Our Online Courses! On Going Deals …

Course Coupons and Stedman Solutions Deals Read more »