If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Skip to main content
Subjects
  • Math by subject
    • Early math
    • Arithmetic
    • Pre-algebra
    • Algebra
    • Geometry
    • Trigonometry
    • Precalculus
    • Statistics & probability
    • Calculus
    • Differential equations
    • Linear algebra
    • Math for fun and glory
  • Math by grade
    • Kindergarten
    • 1st
    • 2nd
    • 3rd
    • 4th
    • 5th
    • 6th
    • 7th
    • 8th
    • High school
  • Science & engineering
    • Physics
    • Chemistry
    • Organic Chemistry
    • Biology
    • Health & medicine
    • Electrical engineering
    • Cosmology & astronomy
  • Computing
    • Computer programming
    • Computer science
    • Hour of Code
    • Computer animation
  • Arts & humanities
    • Art history
    • Grammar
    • Music
    • US history
    • World history
  • Economics & finance
    • Microeconomics
    • Macroeconomics
    • Finance & capital markets
    • Entrepreneurship
  • Test prep
    • SAT
    • MCAT
    • GMAT
    • IIT JEE
    • NCLEX-RN
  • College Admissions
    Search
    DonateSign in / Sign up
    Search for subjects, skills, and videos
    Main content
    Computer programming Intro to SQL: Querying and managing data
    SQL basics
    Welcome to SQL
    Creating a table and inserting data
    Challenge: Book list database
    Querying the table
    Challenge: Box office hits database
    Aggregating data
    Challenge: TODO list database stats
    S-Q-L or SEQUEL?
    Project: Design a store database
    Next tutorial
    More advanced SQL queries
    Challenge: Book list database
    Challenge: Box office hits database
    Up Next
    Challenge: Box office hits database