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

Programación en Python (Coursera) Coursera
Universidad de los Andes

Programación en Python (Coursera)

¡Te damos la bienvenida al curso de Programación en Python de la Universidad de los Andes! El propósito de este curso es ofrecerte un ambiente interactivo para que desarrolles tus habilidades de pensamiento computacional, aprendas a programar en el lenguaje Python y te entrenes en la resolución de problemas utilizando un computador. La estrategia pedagógica empleada es el aprendizaje activo basado en casos.

Nov 23rd 2026
4 Weeks
Learn SQL with Databricks (Coursera) Coursera
Edureka

Learn SQL with Databricks (Coursera)

Welcome to the Learn SQL with Databricks course, where you'll embark on a journey to acquire essential skills in database management, data analysis, and advanced data manipulation techniques. This course is meticulously designed to guide you through the intricacies of SQL, leveraging the powerful and versatile Databricks platform.

Nov 23rd 2026
5-12 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
La recherche documentaire (Coursera) Coursera
École Polytechnique

La recherche documentaire (Coursera)

Ce cours vise principalement à permettre aux étudiants d’identifier les sources pertinentes dans un domaine donné, leur apprendre à construire un état de l’art et à évaluer les sources, en particulier celles en accès libre sur Internet. Il cherche également à optimiser la recherche documentaire en incitant les étudiants à tirer le meilleur parti des outils et requêtes d’interrogation des bases de données. A l'issue de ce cours, ils devront être capables de construire et alimenter une bibliographie ordonnée, ainsi que de citer convenablement leurs sources pour éviter le plagiat.

Nov 23rd 2026
3 Weeks
Oracle Cloud Infrastructure Foundations (Udacity) Udacity
Udacity,Oracle

Oracle Cloud Infrastructure Foundations (Udacity)

Develop foundational knowledge of OCI Cloud Services. This course helps you develop a strong foundation in cloud computing while introducing you to core concepts and features of Oracle Cloud Infrastructure (OCI).It also enables you to describe the key features and components of OCI, identify the core OCI service offerings, and understand OCI security model. Plus, you’ll learn the OCI compliance structure and dive deep into OCI pricing, support model, and operations.

Self Paced
Self-Paced
Practical Python for AI Coding 1 (Coursera) Coursera
Korea Advanced Institute of Science and Technology - KAIST

Practical Python for AI Coding 1 (Coursera)

This course is for a complete novice of Python coding, so no prior knowledge or experience in software coding is required. This course selects, introduces and explains Python syntaxes, functions and libraries that were frequently used in AI coding. In addition, this course introduces vital syntaxes, and functions often used in AI coding and explains the complementary relationship among NumPy, Pandas and TensorFlow, so this course is helpful for even seasoned python users.

Nov 23rd 2026
5-12 Weeks
Serverless Data Processing with Dataflow: Develop Pipelines (Coursera) Coursera
Google Cloud

Serverless Data Processing with Dataflow: Develop Pipelines (Coursera)

In this second installment of the Dataflow course series, we are going to be diving deeper on developing pipelines using the Beam SDK. We start with a review of Apache Beam concepts. Next, we discuss processing streaming data using windows, watermarks and triggers. We then cover options for sources and sinks in your pipelines, schemas to express your structured data, and how to do stateful transformations using State and Timer APIs.

Nov 16th 2026
3 Weeks
Data Visualization with Python & R for Engineers (Coursera) Coursera
Northeastern University

Data Visualization with Python & R for Engineers (Coursera)

The primary objective of this course is to offer students an opportunity to learn how to use visualization tools and techniques for data exploration, knowledge discovery, data storytelling, and decision making in engineering, healthcare operations, manufacturing, and related applications. This course covers basics of data mining and visualization, and Python. It also introduces students to static visualization charts and techniques that reveal information, patterns, interactions.

Nov 23rd 2026
4 Weeks