Click here to Skip to main content
14,970,019 members

Articles by essentialSQL (Articles: 2, Technical Blogs: 117)

Articles: 2, Technical Blogs: 117

RSS Feed

Average article rating: 4.50

Database Development
SQL Server
Posted: 21 Dec 2014   Updated: 21 Dec 2014   Views: 12,431   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The MIT License      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
Learn to use Union, Intersect, and Except clauses
Programming Languages
SQL
Posted: 13 May 2015   Updated: 13 May 2015   Views: 14,420   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
This is a case study on how to use Joins, Subqueries, and Unions to combine data in SQL.

Average blogs rating: 4.55

Database Development
Posted: 21 Oct 2014   Updated: 3 Nov 2014   Views: 12,790   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
Database Third Normal Form explained in simple English
Posted: 21 Oct 2014   Updated: 21 Oct 2014   Views: 9,370   Rating: 4.88/5    Votes: 6   Popularity: 3.79
Licence: The MIT License      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Database First Normal Form explained in simple English
Posted: 21 Oct 2014   Updated: 21 Oct 2014   Views: 9,921   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The MIT License      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Database Second Normal Form explained in simple English
Posted: 22 Oct 2014   Updated: 22 Oct 2014   Views: 6,603   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The MIT License      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
How to combine table rows using UNION in SQL Server
Posted: 22 Oct 2014   Updated: 22 Oct 2014   Views: 17,400   Rating: 5.00/5    Votes: 9   Popularity: 4.77
Licence: The MIT License      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
Database normalization in SQL explained in simple English
Posted: 19 Jan 2016   Updated: 19 Jan 2016   Views: 8,312   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
How to Write SQL – Understand Database Table Meanings and Relationships – Step 1
Posted: 29 Dec 2016   Updated: 29 Dec 2016   Views: 7,081   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The MIT License      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to cross join - create row combinations
MySQL
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 2,350   Rating: 4.17/5    Votes: 3   Popularity: 1.99
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
This post discusses the major parts of a SQL database
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 4,691   Rating: 4.47/5    Votes: 5   Popularity: 3.12
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
What is a Database Trigger?
SQL Server
Posted: 11 Jan 2016   Updated: 11 Jan 2016   Views: 9,922   Rating: 4.89/5    Votes: 6   Popularity: 3.80
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Basic concepts of built-In functions in SQL Server
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 2,820   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
In this video we’ll walk you though the common data types used in SQL Server; you’ll see examples of each type’s values, and how to define them.
Posted: 25 Apr 2019   Updated: 25 Apr 2019   Views: 3,540   Rating: 4.22/5    Votes: 6   Popularity: 3.28
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
SQL DISTINCT Clause For SQL Server
Posted: 26 Apr 2019   Updated: 26 Apr 2019   Views: 2,592   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
SQL Server Hierarchical Query using the hierarchyid type
Posted: 23 Oct 2014   Updated: 23 Oct 2014   Views: 7,050   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Simplified Data Modeling in SQL
Posted: 5 Jan 2016   Updated: 5 Jan 2016   Views: 8,860   Rating: 4.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Commonly used SQL Server data types
Posted: 14 Jul 2016   Updated: 14 Jul 2016   Views: 6,751   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
In this article, we explore non recursive CTEs (Common Table Expressions). This is a broad class, and basically covers every form of CTEs except those that call themselves. This other class is called the recursive CTEs; they are covered in the next article.
Posted: 3 Mar 2019   Updated: 3 Mar 2019   Views: 3,600   Rating: 2.87/5    Votes: 5   Popularity: 2.00
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle, we’re going to learn how to work with the AdventureWorks Bill of Materials table.  Companies use a BOM (Bill of Materials) to itemize the products that are used or contained in another product. Solving puzzles is a great way to learn SQL.
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 3,820   Rating: 4.50/5    Votes: 4   Popularity: 2.71
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Difference between WHERE and HAVING clauses
Posted: 24 Oct 2014   Updated: 24 Oct 2014   Views: 5,370   Rating: 4.75/5    Votes: 3   Popularity: 2.27
Licence: The MIT License      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
In today’s lesson, you’re going to learn how to filter the results returned from your queries using the WHERE clause.
Posted: 24 Oct 2014   Updated: 24 Oct 2014   Views: 5,840   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
How to sort your query results in SQL Server
Posted: 24 Oct 2014   Updated: 24 Oct 2014   Views: 5,732   Rating: 4.75/5    Votes: 3   Popularity: 2.27
Licence: The MIT License      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
Learn more about filtering results returned from your queries using the WHERE clause
Posted: 25 Oct 2014   Updated: 25 Oct 2014   Views: 9,611   Rating: 4.71/5    Votes: 4   Popularity: 2.84
Licence: The MIT License      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
Simple SELECT queries in SQL Server
Posted: 29 Oct 2014   Updated: 29 Oct 2014   Views: 5,260   Rating: 4.50/5    Votes: 2   Popularity: 1.35
Licence: The MIT License      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
In this lesson, you are going to explore how to do pattern matching with the SQL Where clause LIKE operator.
Posted: 31 Oct 2014   Updated: 31 Oct 2014   Views: 8,740   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
How to use the Intersect Operator in SQL Server
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 3,190   Rating: 3.00/5    Votes: 4   Popularity: 1.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Truncate and Delete in SQL
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 2,940   Rating: 4.33/5    Votes: 3   Popularity: 2.07
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Query plans in SQL
Posted: 22 Oct 2014   Updated: 22 Oct 2014   Views: 7,850   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The MIT License      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to Outer Joins in SQL Server
Posted: 22 Oct 2014   Updated: 22 Oct 2014   Views: 6,440   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The MIT License      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to Inner Joins in SQL Server
Posted: 23 Oct 2014   Updated: 23 Oct 2014   Views: 7,190   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Query Results Using Pattern Matching in SQL
Posted: 23 Oct 2014   Updated: 23 Oct 2014   Views: 8,740   Rating: 4.60/5    Votes: 3   Popularity: 2.19
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
What is a Null Value? In databases a common issue is what value or placeholder do you use to represent a missing values.   In SQL, this is solved with null.  It is used to signify missing or unknown values.  The keyword NULL is used to indicate these values.
Posted: 23 Oct 2014   Updated: 23 Oct 2014   Views: 6,802   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
How to Group and Summarize your Results in SQL
Posted: 29 Oct 2014   Updated: 29 Oct 2014   Views: 7,650   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Grouping results returned from your queries using the GROUP BY clause
Posted: 14 Nov 2014   Updated: 14 Nov 2014   Views: 35,204   Rating: 4.82/5    Votes: 5   Popularity: 3.37
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Sort Alphanumeric Values with SQL Server
Posted: 21 Dec 2014   Updated: 21 Dec 2014   Views: 8,971   Rating: 4.57/5    Votes: 5   Popularity: 3.20
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
How to use the Except Operator in SQLServer
Posted: 4 Feb 2015   Updated: 4 Feb 2015   Views: 7,021   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
The purpose of this article is to introduce you to subqueries and some of their high-level concepts.  There are a lot of details to cover in order to learn sub queries, but you’ll see we cover those in depth in later articles.
Posted: 6 Feb 2015   Updated: 6 Feb 2015   Views: 10,190   Rating: 4.33/5    Votes: 2   Popularity: 1.30
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
This is the second in a series of articles about subqueries. In this article, we discuss subqueries in the SELECT statement’s column list. Other articles discuss their uses in other clauses.
Posted: 23 Feb 2015   Updated: 23 Feb 2015   Views: 25,991   Rating: 3.91/5    Votes: 4   Popularity: 2.35
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
What is the difference between GROUP BY and ORDER BY
Posted: 2 Jan 2016   Updated: 2 Jan 2016   Views: 7,700   Rating: 4.20/5    Votes: 2   Popularity: 1.26
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to SQL Server’s Common String Functions
Posted: 2 Jan 2016   Updated: 2 Jan 2016   Views: 7,322   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to SQL Server's built-in conversion functions
Posted: 4 Jan 2016   Updated: 4 Jan 2016   Views: 5,191   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to SQL Server's built-in logical functions
Posted: 4 Nov 2016   Updated: 4 Nov 2016   Views: 5,251   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to SQL Server Data Modification statements
Posted: 29 Dec 2016   Updated: 29 Dec 2016   Views: 4,350   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
Uncommon SQL server data types
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 5,522   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
SQL set operations
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 6,530   Rating: 3.89/5    Votes: 5   Popularity: 2.72
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Benefits of stored procedures and how to create and execute them
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 3,960   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
In this video, we'll walk you through how to use the LIKE clause.
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 4,830   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
How to join dirty data using SQL Server
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 8,201   Rating: 3.86/5    Votes: 3   Popularity: 1.84
Licence: The MIT License      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle, we’re going to learn how to create a cross tab query using SQL Server.
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 6,753   Rating: 4.18/5    Votes: 7   Popularity: 3.53
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle, we’re going to learn how to create a dynamic pivot table using SQL Server.
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 4,431   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle, we’re going to learn how to find the person whose birthday, among others, is in the middle.
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 7,550   Rating: 3.43/5    Votes: 6   Popularity: 2.67
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle, we’re going to learn how to query the data dictionary using SQL Server.
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 2,675   Rating: 3.12/5    Votes: 6   Popularity: 2.43
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
How to use SQL Server Date functions
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 11,374   Rating: 3.00/5    Votes: 2   Popularity: 0.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
What is a Data Dictionary in SQL Server?
Posted: 26 Apr 2019   Updated: 26 Apr 2019   Views: 3,060   Rating: 3.78/5    Votes: 6   Popularity: 2.94
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
SQL COALESCE Function and NULL
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 4,361   Rating: 4.20/5    Votes: 2   Popularity: 1.26
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
How to combine results from more than one table
Posted: 29 Dec 2019   Updated: 29 Dec 2019   Views: 1,210   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle we’re going to learn how to find the person whose birthday, among others, is in the middle.  Knowing how to calculate the median value is a good skill to have.  As you start to explore business intelligence you’ll come across similar problems to solve.
Posted: 23 Feb 2020   Updated: 23 Feb 2020   Views: 9,250   Rating: 4.50/5    Votes: 4   Popularity: 2.71
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
SQL COALESCE function and how you can test for null, and when present, substitute it for another value
Mobile Apps
Smartphone
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 4,131   Rating: 3.10/5    Votes: 10   Popularity: 3.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
SQLite3 is a compact free database you can use easily to create and use a database. Learn more about it in this blog post.
Productivity Apps and Services
Microsoft Office
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 3,270   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
In this blog post, you will learn about stored procedures
Posted: 29 Dec 2020   Updated: 29 Dec 2020   Views: 3,641   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
How to reconstruct full outer join in SQL using other join clauses
Sharepoint
Posted: 10 Mar 2015   Updated: 10 Mar 2015   Views: 5,860   Rating: 4.67/5    Votes: 2   Popularity: 1.40
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Subqueries in the FROM clause
Posted: 21 Mar 2015   Updated: 21 Mar 2015   Views: 5,361   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Get ready to learn SQL Server 23: Using Subqueries in the HAVING clause
Posted: 16 Jun 2015   Updated: 16 Jun 2015   Views: 31,723   Rating: 4.31/5    Votes: 5   Popularity: 3.01
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Difference between primary and foreign keys, and why both are important to maintaining a relational database structure
Posted: 16 Jun 2015   Updated: 16 Jun 2015   Views: 6,331   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Difference between Top and Offset & Fetch
Posted: 16 Jun 2015   Updated: 16 Jun 2015   Views: 16,471   Rating: 4.45/5    Votes: 6   Popularity: 3.47
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Using OFFSET and FETCH with the ORDER BY clause
Posted: 1 Jan 2016   Updated: 1 Jan 2016   Views: 46,621   Rating: 4.56/5    Votes: 5   Popularity: 3.18
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Difference between a join and a union
Posted: 3 Jan 2016   Updated: 3 Jan 2016   Views: 32,103   Rating: 4.67/5    Votes: 5   Popularity: 3.26
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
What is the Difference between a Join and Subquery?
Posted: 20 Jul 2016   Updated: 20 Jul 2016   Views: 9,630   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Recursive CTE’s In this article we explore recursive CTE’s (Common Table Expressions).  Recursive CTEs are special in the sense they are allowed to reference themselves!  Because of this special ability, you can use recursive CTEs to solve problems other queries cannot.  Recursive CTEs are really go
Posted: 19 Mar 2017   Updated: 19 Mar 2017   Views: 7,640   Rating: 3.76/5    Votes: 5   Popularity: 2.63
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle, we're going to learn how to create a bar chart using SQL Server.
Posted: 19 Mar 2017   Updated: 19 Mar 2017   Views: 9,212   Rating: 3.91/5    Votes: 6   Popularity: 3.04
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
How to find a gap in a sequence using SQL Server
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 8,521   Rating: 5.00/5    Votes: 8   Popularity: 4.52
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Difference between a primary and unique key and why both are important to maintaining a relational database structure
Posted: 1 Mar 2018   Updated: 1 Mar 2018   Views: 9,490   Rating: 4.00/5    Votes: 2   Popularity: 1.20
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Use IF…ELSE statements to program a Stored Procedure
Posted: 1 Mar 2018   Updated: 1 Mar 2018   Views: 9,201   Rating: 2.45/5    Votes: 3   Popularity: 1.17
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
After reading this article you will understand the basics of using the WHILE statement to write a loop within a stored procedure. All the examples for this lesson are based on Microsoft SQL Server Management Studio and the sample databases AdventureWorks and WideWorldImporters.
Posted: 20 Feb 2015   Updated: 20 Feb 2015   Views: 9,951   Rating: 4.60/5    Votes: 4   Popularity: 2.77
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
In this post, we discuss subqueries in the WHERE clause.
Posted: 4 Nov 2016   Updated: 4 Nov 2016   Views: 4,541   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Here is an introduction to the INSERT statement
Programming Languages
SQL
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 3,732   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
In this guide, I’ll show you how to get started using Power BI.  We’ll then get some sample data and use it to build a simple project.
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 2,120   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
An answer to fix an error converting data type from varchar to float
Posted: 29 Dec 2019   Updated: 29 Dec 2019   Views: 2,112   Rating: 4.64/5    Votes: 4   Popularity: 2.79
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
How to identify the top and bottom 25 percent to rank student scores
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 2,361   Rating: 4.33/5    Votes: 3   Popularity: 2.07
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
What is a database table?
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 2,650   Rating: 3.67/5    Votes: 3   Popularity: 1.75
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Database indexes explained
Posted: 31 Dec 2015   Updated: 31 Dec 2015   Views: 8,380   Rating: 4.57/5    Votes: 9   Popularity: 4.36
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Difference between inner and outer joins
Posted: 9 Jul 2016   Updated: 9 Jul 2016   Views: 6,630   Rating: 4.80/5    Votes: 6   Popularity: 3.74
Licence: The MIT License      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to Common Table Expressions
Posted: 23 Nov 2016   Updated: 23 Nov 2016   Views: 4,410   Rating: 4.00/5    Votes: 7   Popularity: 3.38
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Here is an introduction to the Delete statement
Posted: 23 Nov 2016   Updated: 23 Nov 2016   Views: 6,921   Rating: 4.17/5    Votes: 4   Popularity: 2.51
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
An introduction to the UPDATE statement
Posted: 1 Mar 2018   Updated: 1 Mar 2018   Views: 8,900   Rating: 4.47/5    Votes: 5   Popularity: 3.12
Licence: The MIT License      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
How to build dynamic SQL in a stored procedure
Posted: 17 Jul 2015   Updated: 17 Jul 2015   Views: 31,124   Rating: 4.75/5    Votes: 11   Popularity: 4.75
Licence: The MIT License      Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
How to use conditional logic in SQL with CASE expression
Posted: 19 Jan 2016   Updated: 19 Jan 2016   Views: 7,341   Rating: 4.45/5    Votes: 5   Popularity: 3.11
Licence: The MIT License      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
Three simple steps to writing SQL queries
Posted: 19 Jan 2016   Updated: 19 Jan 2016   Views: 4,410   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Write SQL – Formulate your Question – Step 2
Posted: 26 Jan 2016   Updated: 26 Jan 2016   Views: 5,570   Rating: 4.33/5    Votes: 3   Popularity: 2.07
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
Write SQL - write the query
Posted: 23 Feb 2017   Updated: 23 Feb 2017   Views: 14,756   Rating: 4.76/5    Votes: 12   Popularity: 5.13
Licence: The MIT License      Bookmarked: 12   Downloaded: 0
Please Sign up or sign in to vote.
How to calculate moving averages by working through a hypothetical stock market example
Posted: 23 Feb 2017   Updated: 23 Feb 2017   Views: 7,726   Rating: 4.79/5    Votes: 8   Popularity: 4.33
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
How to identify the top and bottom 25 percent to rank student scores
Posted: 25 Mar 2017   Updated: 25 Mar 2017   Views: 5,590   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
How to calculate moving averages
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 5,461   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle, we’re going to learn how to rewrite a subquery using inner joins.
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 4,501   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
Joins versus subqueries in SQL
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 3,951   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
How to write a SQL UNION without using Set operations
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 6,000   Rating: 4.50/5    Votes: 5   Popularity: 3.15
Licence: The MIT License      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
There are several ways to calculate a running total in SQL. In this article, we will cover two methods: Joins, and Window Functions.
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 4,040   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
How to use the TOP clause in SQL
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 4,620   Rating: 4.09/5    Votes: 6   Popularity: 3.18
Licence: The MIT License      Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
How to select top rows within a query
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 3,272   Rating: 3.67/5    Votes: 2   Popularity: 1.10
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
In this episode of SQL Minute I want to share with you how to create a pivot or cross tab chart.
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 6,301   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
A common question I get ask is whether I can have a CASE Statement in the WHERE Clause.
Posted: 14 Aug 2019   Updated: 14 Aug 2019   Views: 2,290   Rating: 2.33/5    Votes: 2   Popularity: 0.70
Licence: The MIT License      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
SQL ACID explained
Posted: 29 Dec 2019   Updated: 29 Dec 2019   Views: 1,221   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
How to select top rows within a query
Posted: 22 Oct 2014   Updated: 22 Oct 2014   Views: 7,610   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to database joins in SQL
Posted: 4 Jan 2016   Updated: 4 Jan 2016   Views: 14,074   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
How to find duplicate values in SQL Server
Posted: 4 Jan 2016   Updated: 4 Jan 2016   Views: 8,971   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
Introduction to SQL Server’s Mathematical Functions
Posted: 12 Feb 2017   Updated: 12 Feb 2017   Views: 4,961   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
In this article, well explore how to use the MERGE statement. We discuss some best practices, limitations, and wrap-up with several examples.
Posted: 12 Feb 2017   Updated: 12 Feb 2017   Views: 6,921   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
This post discusses the difference between merge and update
Posted: 17 Jun 2015   Updated: 17 Jun 2015   Views: 34,148   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The MIT License      Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
How do the SQL DISTINCT and TOP SELECT Clauses Work Together to Generate Results?
Posted: 30 Aug 2016   Updated: 30 Aug 2016   Views: 11,442   Rating: 4.43/5    Votes: 8   Popularity: 4.00
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
How to calculate the end of the month in SQL
Posted: 25 Mar 2017   Updated: 25 Mar 2017   Views: 6,961   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
How to identify the top and bottom 25 percent to rank student scores
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 2,421   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The MIT License      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
I recently put together a lesson on non-equi joins.  It is part of my Join Together Now course.  Click here get the course at a discount.  A non-equi join can be used to solve some interesting query problems.
Posted: 29 Dec 2019   Updated: 29 Dec 2019   Views: 1,441   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The MIT License      Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
In this puzzle, we’re going to learn how to calculate moving averages by working through a hypothetical stock market example. Solving puzzles is a great way to learn SQL.  Nothing beats practicing what you’ve learned.
Posted: 30 Dec 2017   Updated: 30 Dec 2017   Views: 5,230   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
How to do some basic data modeling
Posted: 19 Mar 2017   Updated: 19 Mar 2017   Views: 5,970   Rating: 4.00/5    Votes: 5   Popularity: 2.80
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
Work with the AdventureWorks Bill of Materials using Subqueries
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 2,200   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
I recently put together a lesson on  table aliases and multi-table joins.  It is part of my Join Together Now course.  Click here get the course at a discount.
T-SQL
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 2,571   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The MIT License      Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
In this SQL minute we’ll look at how you can use hierarchyid to query hierarchy data.  This is a two-part article.  In this article we look at how to do one query to get portion of the hierarchy.
Posted: 31 Dec 2015   Updated: 6 Jan 2016   Views: 41,443   Rating: 4.97/5    Votes: 10   Popularity: 4.97
Licence: The MIT License      Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
Difference between Cast and Convert
Posted: 13 Mar 2019   Updated: 13 Mar 2019   Views: 2,303   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The MIT License      Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
In this lesson, we’re going to learn about the While Loop. So, what is a While Loop? Well, While Loop is set up using a While statement. While statements are used to repeatedly execute a block of SQL statements.

Average tips rating:

No tips have been posted.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

essentialSQL
Easy Computer Academy, LLC
United States United States
Hello my name is Kris. I’m here because I am passionate about helping non-techie people to overcome their fear of learning SQL.

I know what it is like to not know where to start or whether the time spent learning is worth the effort. That is why I am here to help you to:
- Get started in an easy to follow step-by-step manner.
- Use your time wisely so you focus on what is important to learn to get the most value from your time.
- Answer your questions. Really! Just post a comment and I’ll respond. I’m here to help.

It wasn’t long ago that I was helping a colleague with some reporting. She didn’t know where to start and soon got overwhelmed and lost as she didn’t know SQL.

I felt really bad, as she was under pressure to get some summary information to her boss, the built-in reports were falling short, and to make them better would require her to know SQL. At that time that seemed impossible! It in dawned on me, it doesn’t have to be that way.

Then I discovered a way for anyone with the desire to easily learn SQL. I worked with my co-worker, started to teach her what I learned and soon she was able to write reports and answer her boss’ questions without getting stressed or ploughing hours into manipulating data in Excel.

It hasn’t always been easy. Sometimes the information seems abstract or too conceptual. In this case I’ve found out that a visual explanation is best. I really like to use diagrams or videos to explain hard-to-grasp ideas.

Having video, pictures, and text really help to reinforce the point and enable learning.

And now I want to help you get the same results.

The first step is simple, click here ==> http://www.essentialsql.com/get-started-with-sql-server/