SQL Server Multi-Table QueriesThis post serves as a series of links to the different kinds of multi-table queries. The Microsoft Press […] March 12, 2018 in SQL Server tagged table / join / subquery / query by Mike
SQL Server Cross JoinsCross joins are one of the three fundamental types of joins: cross, inner and outer. There are also […] March 12, 2018 in SQL Server tagged cross / Cartesian / join by Mike
SQL Server Correlated SubqueriesCorrelated subqueries have references known as correlations to columns in tables from tables in the outer query. They […] March 11, 2018 in SQL Server tagged correlated / subqueries / SQL Server Subqueries by Mike
SQL Sever Many-To-ManyDo you have a database that has two tables that have a many-to-many relationship? What do I mean […] March 10, 2018 in SQL Server tagged many-to-many / linking / associative / junction / intermediary / authors / books / table / link / relationship by Mike
SQL Server Left Joins SimplifiedIn order to more easily understand left joins we will modify Itzik Ben-Gan’s database from the previous post […] March 10, 2018 in SQL Server tagged table / join / left / right / sql / SQL Server Left Joins by Mike
SQL Server Left JoinsThis post gives an example of using left joins on a series of tables in the Itzik Ben-Gan […] March 7, 2018 in SQL Server tagged join / left / Itzik / SQL Server Left Joins by Mike
SQL Self-Contained SubqueriesThis example comes from Ikzik Ben-Gan’s book T-SQL Querying. Subqueries are used to nest queries. Subqueries is a […] March 6, 2018 in SQL Server tagged subqueries / contained / self / subquery / SQL Server Subqueries by Mike
Itzik Ben-Gan’s SQL DatabaseIn Itzik’s book T-SQL Querying, published by Microsoft Press in 2015, he uses several tables as examples. Here […] March 6, 2018 in SQL Server tagged Itzik / tables / customers / orders / details / database / suppliers / sql / products / diagram / relationship / SQL Itzik Database by Mike
SQL Server Burton’s DatabaseThere exists a SQL Server online course at Udemy.com that prepares you for the 70-461 exam. The couse […] February 24, 2018 in SQL Server tagged transaction / burton / diagram / relationship / department / employee / database / sql by Mike
SQL Server Common Table Expressions CTECommon table expressions (CTEs) are another kind of table expression that like derived tables are visible only to […] February 24, 2018 in SQL Server tagged temp / temporary / table / expression / cte / common / with by Mike
SQL Server Create TableYou can create a table using the SSMS GUI, or you can use T-SQL code. This post describes […] February 23, 2018 in SQL Server tagged sql / T-SQL / table / create / create table by Mike
SQL Server Summing TimeThis post describes how you can sum a column with a data type of Time in SQL Server. […] February 20, 2018 in SQL Server tagged time / sum by Mike