Intro to Relational Databases (Udacity)

Offered by Udacity,
Intro to Relational Databases (Udacity)

SQL, DB-API, and More! This course is a quick, fun introduction to using a relational database from your code, using examples in Python. You'll learn the basics of SQL (the Structured Query Language) and database design, as well as the Python API for connecting Python code to a database. You'll also learn a bit about protecting your database-backed web apps from common security problems. After taking this course, you'll be able to write code using a database as a backend to store application data reliably and safely.

Class Deals by MOOC List - Click here and see Udacity's Active Discounts, Deals, and Promo Codes.

If you look under the hood of a lot of major web sites — from Wikipedia to Reddit — you'll find a relational database somewhere.
Database systems such as PostgreSQL and MySQL have been part of the web developer's toolkit for many years, and remain some of the most powerful tools available for storing and manipulating structured data.
If you're planning to continue on in full-stack development, knowing about databases is essential background. Even though many toolkits hide the details of the database from your application code, being able to interact with the database will serve you well in designing, debugging, and maintaining your applications.

What You Will Learn

LESSON 1
Data and Tables

  • Learn about how relational databases let you structure data into tables.
  • Learn about the importance of unique keys and relationships between tables.

LESSON 2
Elements of SQL

  • Begin learning SQL the Structured Query Language used by most relational databases.
  • Learn about the select and insert statements the basic operations for reading and writing data.
  • Learn about the operators and syntax available to get the database to scan and join tables for you.

LESSON 3
Python DB-API

  • Learn how to access a relational database from Python code.
  • Use a virtual machine (VM) to run a Python web application with a database.
  • Common security pitfalls of database applications including the famous Bobby Tables.

LESSON 4
Deeper Into SQL

  • Learn how to design and create new databases.
  • Learn about normalized design which makes it easier to write effective code using a database.
  • Learn how to use the SQL join operators to rapidly connect data from different tables.

Prerequisites and Requirements
You can read and write basic code in Python. This course uses programming exercises in Python. If you haven't worked with Python before, check out our course Programming Foundations with Python.
If you can understand this code (maybe with the help of the random module documentation), you know enough Python for this course:
import random
def ChooseTwice(items):
a = random.choice(items)
b = random.choice(items)
return a, b
names = ["Alice", "Bob", "Charlie", "Debra"]
(one, two) = ChooseTwice(names)
if one == two:
print "%s is happy!" % one
else:
print "%s likes %s!" % (one, two)
You can use a command-line interface (terminal). Some of the exercises in this course involve using a Unix-style command-line interface to enter commands, run Python programs, and navigate directories.If you have taken our course on Git and Github, the level of command-line use in this course is similar.You don't need to be a Web programmer. This course does include a small Web application and some HTML and JavaScript in examples, but you will not need to make changes in these languages.You don't need any previous database experience. This course is an entry-level introduction to relational databases.You need a programming text editor (such as Sublime Text) installed on your computer. You should be able to use it to open and edit files of Python code.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Web Application Development: Basic Concepts (Coursera) Coursera
University of New Mexico

Web Application Development: Basic Concepts (Coursera)

This is the first course in a Coursera Specialization track involving Web Application Architectures. This course will give you the basic background, terminology and fundamental concepts that you need to understand in order to build modern full stack web applications. A full stack web developer is familiar with each "layer" of the software technologies involved in a web application, including data modeling and database technologies, the web server environment and middleware components, network protocols, the user interface and basic visual design and user interaction concepts.

Aug 17th 2026
5-12 Weeks
Introduction to Embedded Systems Software and Development Environments (Coursera) Coursera
University of Colorado Boulder

Introduction to Embedded Systems Software and Development Environments (Coursera)

Welcome to the Introduction to Embedded Systems Software and Development Environments. This course is focused on giving you real world coding experience and hands on project work with ARM based Microcontrollers. You will learn how to implement software configuration management and develop embedded software applications. Course assignments include creating a build system using the GNU Toolchain GCC, using Git version control, and developing software in Linux on a Virtual Machine.

Aug 17th 2026
4 Weeks
Computing for Data Analysis (edX) EdX
Georgia Institute of Technology,GTx

Computing for Data Analysis (edX)

A hands-on introduction to basic programming principles and practice relevant to modern data analysis, data mining, and machine learning. The modern data analysis pipeline involves collection, preprocessing, storage, analysis, and interactive visualization of data. In the course, you’ll see how computing and mathematics come together.

Aug 24th 2026
13-24 Weeks
Intro to Cloud Computing (Udacity) Udacity
Udacity

Intro to Cloud Computing (Udacity)

Get your start in one of the fastest growing fields in technology. In this course, you'll learn foundational cloud computing skills that will set you on your path to a career in cloud computing. In the first lesson, you'll learn about fundamental concepts such as the advantages of cloud computing, deployment models, and the similarities and differences across major cloud service providers.

Self Paced
Self-Paced
BigQuery Fundamentals for Teradata Professionals (Coursera) Coursera
Google Cloud

BigQuery Fundamentals for Teradata Professionals (Coursera)

This course covers BigQuery fundamentals for professionals who are familiar with SQL-based cloud data warehouses in Teradata and want to begin working in BigQuery. Through interactive lecture content and hands-on labs, you learn how to provision resources, create and share data assets, ingest data, and optimize query performance in BigQuery. Drawing upon your knowledge of Teradata, you also learn about similarities and differences between Teradata and BigQuery to help you get started with data warehouses in BigQuery.

Aug 17th 2026
2 Weeks
Authentication & Authorization: OAuth (Udacity) Udacity
Udacity

Authentication & Authorization: OAuth (Udacity)

Implementing Web Security with OAuth 2.0. As a Python programmer, leveraging Flask allows you to quickly and easily build your own web applications. But before you share your apps on the Internet you should protect your users' data, ensuring information stored on your site is safe from unwanted manipulation. You could implement web security and permissions on your own, but relying on trusted providers is a faster, safer, and easier way to allow users to login to your application - without having to create and maintain another account, profile, and password.

Self Paced
Self-Paced
HTTP & Web Servers (Udacity) Udacity
Udacity

HTTP & Web Servers (Udacity)

How does HTTP work? This course is intended for budding full-stack web developers to master the basics of HTTP, the protocol that underlies all web technology. In this course, you'll explore HTTP directly, talking with web servers and browsers by hand. You'll write and deploy low-level web applications in Python. And you'll learn more about how HTTP connects with other web technologies.

Self Paced
Self-Paced