Glossary Term Databases

SQL

A language used to query, update, and manage relational databases such as Postgres and MySQL.

#data #backend #database

When this matters

SQL matters when your app grows beyond local arrays and fake demo data. If you use Postgres tools like Supabase, Neon, or Turso-style SQL products, you are already in SQL country whether you planned to be or not.

Small example

This query fetches the newest published projects from a table called `projects`.

SELECT name, slug
FROM projects
WHERE published = true
ORDER BY created_at DESC
LIMIT 10;

Common mistake or lookout

Copying a query without checking table names, column names, or the environment it runs against. SQL errors are often brutally literal, and one wrong column can sink the whole request.

Why this matters for vibe coders

Vibe coders do not need to become full-time database monks, but knowing basic SQL makes AI-generated database code easier to trust, edit, and debug. It also helps you spot when the AI invents table names or joins that do not exist.