← All flashcard decks
beginner📚 5 cards

SQL Fundamentals

Core SQL: SELECT, WHERE, ORDER BY, JOIN, GROUP BY

01
What does SELECT * do?
Returns all columns from the table
02
What does WHERE do?
Filters rows based on a condition
03
INNER JOIN vs LEFT JOIN?
INNER: only matching. LEFT: all left + matching right
04
What does ORDER BY do?
Sorts results by column (ASC or DESC)
05
What does GROUP BY do?
Groups rows for aggregates (COUNT, SUM, AVG)
Ready to study?
Open the flashcards directory
Study now