MIP Logo

SQL, the Quintessential Querying Language Part 1: Starting with Select

This post was originally published on The Data School blog between 2018 and July 2025, before our program was renamed to MIP’s Analytics Career Accelerator. References throughout this article to “The Data School” or “DS” all refer to what is now MIP’s Analytics Career Accelerator. The program, its people, and its commitment to launching outstanding analytics careers remain the same – just under a new name.

If you are having trouble viewing this article, please report it here. 

If you’ve been around in the data space for any length of time, chances are you’ve heard of something called SQL. It’s quite a common buzzword you’ll hear in the data space. It’s easy to think that SQL is just another program, one in a list of many you’ll only have to interact with once or twice.

If you’re thinking like that, you would be VERY wrong. SQL – short for Structured Query Language – is one of the most common querying languages in the world. It’d be a challenge to find a company larger than a single store that doesn’t use SQL in some format under the hood, and it’s relatively approachable for humans to understand it, as well. If you need proof of how ubiquitous it is, here’s a screenshot of tableau, showing all the server types it can connect to. The ones in black squares? They’re SQL-based, and they make up nearly half of all the server types Tableau is prepared for.

So yeah. SQL is… stunningly important.

In the context of Data Analysis, the main thing you’ll be doing with the Structured Query Language is… well, Querying. By using the querying language

In this, I’m going to be going over some of the basics when it comes to SQL querying – namely, the structure of Select Functions. In the second part, I’ll go into more fancy things you can do with it, including subselects, joins, and more.

The Pieces of a Select Function

A select query returns a table Most Select queries consist of up to six simple parts:

  1. SELECT <column1>, <column2>
  2. FROM <table>
  3. WHERE <filtering condition>
  4. GROUP BY <grouping column>
  5. HAVING <filtering condition 2>
  6. ORDER BY <column>

 

SELECT is where you put in the columns you want from your query

Share this post