SQL Databases Using SQLAlchemy: Manipulating Data


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description

When you need access to data in a relational database while coding in Python, SQLAlchemy provides an ideal abstraction layer. SQLAlchemy supports several database types. In this course, you'll work with MySQL.

You'll start by learning how to construct and invoke select-from-where queries from Python using the SQLAlchemy core API. You'll then use the and_, or_, and not_ functions from the Expressions API, before learning how to alter tables by adding and dropping columns and constraints.

Following on, you'll practice deleting data and drop tables from SQLAlchemy. You'll then specify foreign key constraints to define parent-child relationships.

To finish off, you'll perform simple select-from-where queries with logical and relational operators from SQLAlchemy, add and drop columns and constraints, and define foreign-key constraints and parent-child relationships.



Expected Duration (hours)
1.4

Lesson Objectives

SQL Databases Using SQLAlchemy: Manipulating Data

  • discover the key concepts covered in this course
  • perform simple filter operations using logical operators
  • perform filter operations using SQL operators, such as like, not like, and between
  • execute alter operations to add constraints and indices to tables
  • perform update operations on data
  • perform update operations while preserving the parameter order
  • drop a table, recreate it, and insert rows into it
  • explore different ways to use logical operators for querying data
  • filter data using two tables with a parent-child relationship
  • add a foreign key constraint between tables
  • summarize the key concepts covered in this course
  • Course Number:
    it_pysdsadj_02_enus

    Expertise Level
    Intermediate