Understanding your data is the key to understanding your users. If you learn SQL, you will be able to find the answers to the most important questions at your business. This course teaches you the fundamentals of SQL so you understand how data is stored and how to search for, or query, the information. You don't need any experience coding to learn, but even if you have tried out SQL before, this course will give you the confidence you need to use SQL at your job.
As co-founder of CodeHS and previous computer science TA at Stanford, Zach has helped to teach thousands of students how to program.
"I was told to learn SQL for my job, and I managed to figure out how to run basic queries, but it wasn't until I took this course that I really understood how SQL works."
"I could not have asked for a better introduction to SQL than the course I took with CodeHS. Unlike other training materials that exist, The CodeHS offering is simple, interactive, and fun. Most importantly, CodeHS gave me the confidence that even with my non-technical background, I could quickly become proficient in the basics of one of the most widely applicable programming languages."
Write and run SQL queries right from your browser. See all of the videos, exercises, quizzes, and programs without downloading anything.
See if your queries are working immediately with our autograders that compare your results to the correct solution.
Explore SQL by exploring data from Harry Potter including characters, houses, and classes.
"It made complex lessons easy to understand and I really enjoyed the exercises. Making progress was addicting -- I didn't want it to end! I would recommend to anyone who wants to learn SQL."