Skip to main content
Free certificateBeginnerData Science

CS50's Introduction to Databases with SQL

Harvard's course on querying, designing and scaling relational databases with SQL.

Taught byHarvard Online

About this course

CS50 SQL teaches databases from the ground up using SQLite, then PostgreSQL and MySQL. Weeks cover querying, relating tables, schema design, writing data, views, optimization and scaling, with problem sets on real datasets and a final project.

Best for: Anyone who works with data and wants solid SQL.

What you will be able to do

  • Query data with SQL
  • Design normalized schemas
  • Write, update and protect data
  • Optimize and scale databases

Syllabus and your progress

Tick modules off as you finish them on Harvard Online.

0 of 7 modules done

Plan your pace

At 4 hours a week you would finish in about 13 weeks, using the course time estimate above.

Progress is saved in this browser only. No account needed.

Cost and certificate

Free certificate

Free CS50 certificate from Harvard's OpenCourseWare for completing the work; an edX verified certificate costs extra.

Harvard Online sets the terms and can change them. Check the course page before you commit serious time, and tell us if something changed.

Quick answers

Is CS50's Introduction to Databases with SQL really free?
Yes, the course material is free on Harvard Online. Free CS50 certificate from Harvard's OpenCourseWare for completing the work; an edX verified certificate costs extra.
How long does CS50's Introduction to Databases with SQL take?
Plan for about 50 hrs in total (Editorial estimate; the provider does not publish a total. Seven weeks plus a final project.). It is self-paced, so you can go faster or slower.
Do I need experience before CS50's Introduction to Databases with SQL?
No. It is a beginner course with no prerequisites listed.

CS50's Introduction to Databases with SQL

Free certificate

Start on Harvard Online