#databases

Relational vs NoSQL Databases

One of the first decisions in any project is how to store data. The two major categories — relational (SQL) databases and NoSQL databases — solve different problems and make different trade-offs. Choosing the wrong one can mean painful migrations later. Choosing the right one means your data layer works with your application instead of against it. This tutorial explains both approaches, when to use each, and how to make the decision for your project. Read more →

May 18, 2026

Database Normalization

Normalization is the process of organizing database tables to reduce redundancy and prevent data anomalies. It’s a set of rules (called “normal forms”) that guide you toward a clean schema where each piece of data lives in exactly one place. If you’ve ever had a bug where updating a customer’s address in one place didn’t update it everywhere, you’ve experienced the problem normalization solves. Why Normalize? Consider this denormalized table: Read more →

May 18, 2026

Getting Started with PostgreSQL

PostgreSQL (often called “Postgres”) is the most popular open-source relational database — and for good reason. It’s reliable, feature-rich, standards-compliant, and handles everything from small side projects to massive production workloads. If you’re choosing a database for a new project and don’t have a specific reason to pick something else, PostgreSQL is the safe default. This tutorial gets you from installation to running queries in minutes. Installing PostgreSQL macOSLinuxWindows Using Homebrew: Read more →

May 18, 2026

Database Introduction

Every application you use — from social media to banking to the notes app on your phone — stores data somewhere. That somewhere is a database. A database is an organized collection of data that software can efficiently read, write, and query. Understanding how databases work is a foundational skill for any developer, regardless of what you’re building. In this tutorial, we’ll cover what databases are, why they exist, the major types you’ll encounter, and how to think about choosing one. Read more →

April 14, 2026

SQL Joins

In the SQL Basics tutorial, we worked with a single table at a time. But real databases almost always have multiple related tables — customers and orders, students and courses, products and categories. Joins are how you combine rows from two or more tables based on a related column. Understanding joins is one of the most important SQL skills you can have. They come up constantly in application development, data analysis, and technical interviews. Read more →

April 3, 2026

SQL Basics

Introduction SQL (Structured Query Language) is the standard language for interacting with relational databases. Whether you’re building a web application, analyzing data, or preparing for a technical interview, SQL is a skill you’ll use constantly. It lets you create tables, insert data, query records, update values, and delete rows — all with a readable, declarative syntax.  SQL is pronounced either “sequel” or “S-Q-L” — both are widely accepted. The language has been around since the 1970s and remains the most widely used database language in the world. Read more →

April 3, 2026

Databases

Learn database fundamentals from the ground up. Master SQL, explore NoSQL, and understand how data is stored, queried, and managed in modern applications. Read more →

April 3, 2026