Non-Syntactic SQL Errors Spotted

non-syntactic sql errors, common sql errors, JOIN, NULL,

A look at common errors that arise when writing code as an SQL beginner. Debugging, Headaches, and SQL If you’re new to SQL, you’ve probably already run into a myriad of errors. Don’t worry — you’re not alone. All developers make mistakes; it’s a normal part of the development process. The key to mastering any programming language, SQL being no exception, is understanding where the most common mistakes lie. Often, SQL errors are grouped into two categories: syntactic and non-syntactic.

Continue Reading

An Illustrated Guide to Multiple Join

So far, our articles in the “An Illustrated Guide” series have explained several join types: INNER JOINs, OUTER JOINs (LEFT JOIN, RIGHT JOIN, FULL JOIN), CROSS JOIN, self-join and non-equi join. In this final article of the series, we show you how to create SQL queries that match data from multiple tables using one or more join types. Join Types in SQL Queries Before we start discussing example SQL queries that use multiple join types, let’s do a short recap

Continue Reading

An Illustrated Guide to the SQL Non-Equi Join

Did you know that an SQL join doesn’t have to be based on identical matches? In this post, we look at the non-equi join, which uses ‘non-equal’ operators to match records. We’ve already discussed several types of joins, including self-joins and CROSS JOIN, INNER JOIN and OUTER JOIN. These types of joins typically appear with the equals sign (=). However, some joins use conditions other than the equals (=) sign. These are called non-equi joins, and they’re what we will

Continue Reading

An Illustrated Guide to the SQL Self-Join

What is an SQL self-join and how does it work? When should it be used? We’ll provide answers to those questions! In SQL, we can combine data from multiple tables by using a JOIN operator. JOIN has several variants; we’ve already discussed CROSS JOIN, INNER JOIN, and OUTER JOIN. Most of the time, these operators join data from two or more different tables. In this article, however, we will explain how to join records from the same table. A self-join

Continue Reading

How to Track Down Duplicate Values in a Table

When it comes to information management, duplicates present one of the most common challenges to data quality. In this article, I’ll explain how it is possible to find and distinguish duplicate names with the help of the SQL data programming language. I really like my maiden name. The reason I like it so much is because it’s rare. My maiden name (first with last) provided a unique identifier on platforms such as LinkedIn, Facebook, Twitter and similar. But then I

Continue Reading

GET ACCESS TO EXPERT SQL CONTENT!