Flashcards › Math & Programming
Math & Programming

Free SQL Basics Flashcards

SQL is a language of a few dozen patterns that appear in every data job interview and every backend ticket. Make the core clauses reflexive and query-writing becomes about the data, not the syntax.

Study these 10 starter cards

FlashcardsLearn mascot
QUESTION
Tap the card to reveal the answer
QSQL: basic query structure?
ASELECT columns FROM table WHERE condition
QSQL: difference between INNER JOIN and LEFT JOIN?
AINNER returns only matching rows; LEFT keeps all left-table rows with NULLs for non-matches
QSQL: filter grouped results?
AHAVING (WHERE filters rows before grouping)
QSQL: count rows per category?
ASELECT category, COUNT(*) FROM t GROUP BY category
QSQL: sort results descending?
AORDER BY column DESC
QSQL: what does DISTINCT do?
ARemoves duplicate rows from the result
QSQL: pattern-match a string?
AWHERE name LIKE 'A%' (% is any sequence, _ is one character)
QSQL: what is a primary key?
AA column (or set) that uniquely identifies each row
QSQL: return at most 10 rows?
ALIMIT 10
QSQL: what does NULL = NULL evaluate to?
ANULL (unknown) — use IS NULL to test for nulls

Turn these into lasting memory

Reading answers is recognition — remembering them next month takes spaced repetition. Keep this deck and we'll bring every card back at the right moment.

Keep these 10 cards — free →

How to study sql basics with flashcards

Related flashcard topics

TypeScript BasicsReact BasicsRegex BasicsComputer Science TermsExcel Shortcuts & FunctionsMultiplication Tables

Got your own notes?

Paste any list — notes, a spreadsheet, an Anki or Quizlet export — and you're studying it in about twenty seconds. No account needed to start.

Paste your notes →