Skip to content
Navigation menu
Search
Powered by Algolia
Search
Log in
Create account
DEV Community
Close
SQL for Analysts Series' Articles
Back to Michael Nocito's Series
How to Comment SQL So It Teaches
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Jul 24
How to Comment SQL So It Teaches
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
12 min read
How to Set Up a SQL Database for Beginners
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 8
How to Set Up a SQL Database for Beginners
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
6 min read
The SQL CASE Expression, Explained for Beginners
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 9
The SQL CASE Expression, Explained for Beginners
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
9 min read
COUNT in SQL, Explained for Beginners
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 10
COUNT in SQL, Explained for Beginners
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
6 min read
SQL JOINs: How to Join Two Tables Without Losing or Doubling Rows
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 11
SQL JOINs: How to Join Two Tables Without Losing or Doubling Rows
#
sql
#
database
#
tutorial
#
beginners
Comments
1
comment
17 min read
SQL Aliases: How to Read a Query Out Loud
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 11
SQL Aliases: How to Read a Query Out Loud
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
13 min read
SQL CTEs: How to Build a Query in Steps You Can Check
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 12
SQL CTEs: How to Build a Query in Steps You Can Check
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
12 min read
SQL Foundations, Start to Finish
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 12
SQL Foundations, Start to Finish
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
15 min read
GROUP BY and HAVING: How to Summarize Rows Without Getting a Fake Answer
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 12
GROUP BY and HAVING: How to Summarize Rows Without Getting a Fake Answer
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
13 min read
SQL Window Functions: How to Get the Top Row Per Group
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 12
SQL Window Functions: How to Get the Top Row Per Group
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
16 min read
How to Comment in SQL: -- and /* */, and the Two Traps That Break a Query
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 21
How to Comment in SQL: -- and /* */, and the Two Traps That Break a Query
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
9 min read
COMMENT ON TABLE: How to Store a Table Description in the Database Itself
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 21
COMMENT ON TABLE: How to Store a Table Description in the Database Itself
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
6 min read
SQL Comment Syntax by Database: MySQL, PostgreSQL, SQL Server, SQLite, Oracle
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 21
SQL Comment Syntax by Database: MySQL, PostgreSQL, SQL Server, SQLite, Oracle
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
5 min read
How to Find Duplicate Rows in SQL (and Decide What Counts as One)
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 21
How to Find Duplicate Rows in SQL (and Decide What Counts as One)
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
15 min read
Month-over-Month Growth in SQL: LAG, the Growth Formula, and the Traps
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 21
Month-over-Month Growth in SQL: LAG, the Growth Formula, and the Traps
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
15 min read
NULL in SQL: Why = NULL Finds Nothing and What to Write Instead
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 21
NULL in SQL: Why = NULL Finds Nothing and What to Write Instead
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
14 min read
Which SQL Database Should You Install?
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 21
Which SQL Database Should You Install?
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
6 min read
Customer Segmentation in SQL With CASE WHEN
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 22
Customer Segmentation in SQL With CASE WHEN
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
14 min read
Where to Get a Sample Database to Practice SQL (And How to Check It Loaded)
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 22
Where to Get a Sample Database to Practice SQL (And How to Check It Loaded)
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
13 min read
How to Practice SQL Online With Nothing Installed (And Where Your Data Goes)
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 22
How to Practice SQL Online With Nothing Installed (And Where Your Data Goes)
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
11 min read
How to Export SQL Results to CSV and Excel (Without Wrecking the Data)
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 26
How to Export SQL Results to CSV and Excel (Without Wrecking the Data)
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
10 min read
How to Install PostgreSQL for Beginners (And Whether You Need To)
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 27
How to Install PostgreSQL for Beginners (And Whether You Need To)
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
11 min read
How to Set Up DuckDB (Run SQL on a CSV With No Import Step)
Michael Nocito
Michael Nocito
Michael Nocito
Follow
Aug 29
How to Set Up DuckDB (Run SQL on a CSV With No Import Step)
#
sql
#
database
#
tutorial
#
beginners
Comments
Add Comment
10 min read
We're a place where coders share, stay up-to-date and grow their careers.
Log in
Create account