VOOZH about

URL: https://www.coursera.org/learn/sql-data-science

⇱ Databases and SQL for Data Science with Python | Coursera


Databases and SQL for Data Science with Python

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Databases and SQL for Data Science with Python

This course is part of multiple programs.

655,129 already enrolled

Included with

β€’

Learn more

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.7

22,666 reviews

Beginner level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
94%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.7

22,666 reviews

Beginner level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
94%
Most learners liked this course

What you'll learn

  • Analyze data within a database using SQL and Python.

  • Create a relational database and work with multiple tables using DDL commands.

  • Construct basic to intermediate level SQL queries using DML commands.

  • Compose more powerful queries with advanced SQL techniques like views, transactions, stored procedures, and joins.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

14 assignmentsΒΉ

AI Graded see disclaimer
Taught in English

Build your subject-matter expertise

This course is available as part of
When you enroll in this course, you'll also be asked to select a specific program.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 6 modules in this course

Working knowledge of SQL (or Structured Query Language) is a must for data professionals like Data Scientists, Data Analysts and Data Engineers. Much of the world's data resides in databases. SQL is a powerful language used for communicating with and extracting data from databases.

In this course you will learn SQL inside out- from the very basics of Select statements to advanced concepts like JOINs. You will: -write foundational SQL statements like: SELECT, INSERT, UPDATE, and DELETE -filter result sets, use WHERE, COUNT, DISTINCT, and LIMIT clauses -differentiate between DML & DDL -CREATE, ALTER, DROP and load tables -use string patterns and ranges; ORDER and GROUP result sets, and built-in database functions -build sub-queries and query data from multiple tables -access databases as a data scientist using Jupyter notebooks with SQL and Python -work with advanced concepts like Stored Procedures, Views, ACID Transactions, Inner & Outer JOINs through hands-on labs and projects You will practice building SQL queries, work with real databases on the Cloud, and use real data science tools. In the final project you’ll analyze multiple real-world datasets to demonstrate your skills.

In this module, you will be introduced to databases. You will learn how to use basic SQL statements like SELECT, INSERT, UPDATE and DELETE. You will also get an understanding of how to refine your query results with the WHERE clause as well as using COUNT, LIMIT and DISTINCT.

What's included

6 videos4 readings2 assignments3 app items

6 videosβ€’Total 19 minutes
  • Course Introductionβ€’3 minutes
  • Introduction to Databasesβ€’4 minutes
  • SELECT Statementβ€’4 minutes
  • COUNT, DISTINCT, LIMITβ€’2 minutes
  • INSERT Statementβ€’3 minutes
  • UPDATE and DELETE Statementsβ€’3 minutes
4 readingsβ€’Total 23 minutes
  • Course Overviewβ€’3 minutes
  • SELECT statement examplesβ€’10 minutes
  • Module Summary: Getting Started with SQLβ€’5 minutes
  • SQL Cheat Sheet: Basics - SELECT, INSERT, UPDATE, DELETE, COUNT, DISTINCT, LIMITβ€’5 minutes
2 assignmentsβ€’Total 20 minutes
  • Graded Quiz: Basic SQLβ€’10 minutes
  • Practice Quiz: Basic SQLβ€’10 minutes
3 app itemsβ€’Total 70 minutes
  • Hands-on Lab: Simple SELECT Statementsβ€’20 minutes
  • Hands-on Lab: COUNT, DISTINCT, LIMITβ€’30 minutes
  • Hands-on Lab: INSERT, UPDATE, and DELETEβ€’20 minutes

In this module, you’ll learn more about relational database concepts and their importance. This module helps you to understand the process of creating a table in your database on MySQL using the graphical interface and SQL scripts. Further, you will also learn how to alter the entries or delete the entries for any table in the database, or even delete the table itself.

What's included

5 videos7 readings2 assignments3 app items

5 videosβ€’Total 22 minutes
  • Relational Database Conceptsβ€’6 minutes
  • Types of SQL statements (DDL vs. DML)β€’2 minutes
  • CREATE TABLE Statementβ€’4 minutes
  • ALTER, DROP, and Truncate Tablesβ€’4 minutes
  • How to create a Database instance on Cloudβ€’6 minutes
7 readingsβ€’Total 45 minutes
  • Examples to ALTER and TRUNCATE tables using MySQLβ€’10 minutes
  • Examples to CREATE and DROP tablesβ€’10 minutes
  • Understanding Relational Model Constraintsβ€’10 minutes
  • SQL Scripts - Uses and Applicationsβ€’7 minutes
  • Summary: Relational Database Concepts and Tablesβ€’2 minutes
  • SQL Cheat Sheet: CREATE TABLE, ALTER, DROP, TRUNCATEβ€’5 minutes
  • [Optional] Hands-on Lab Using IBM DB2β€’1 minute
2 assignmentsβ€’Total 25 minutes
  • Relational DB Concepts and Tablesβ€’15 minutes
  • Practice Quiz: Introduction to Relational Databases and Tablesβ€’10 minutes
3 app itemsβ€’Total 70 minutes
  • Hands-on Lab : CREATE, ALTER, TRUNCATE, DROPβ€’20 minutes
  • Hands-on Lab: Create and Load Tables using SQL Scriptsβ€’20 minutes
  • Obtain IBM Cloud Feature Code and Activate Trial Accountβ€’30 minutes

This module helps you learn how to use string patterns and ranges to search data and how to sort and group data in result sets. You will also practice composing nested queries and execute select statements to access data from multiple tables.

What's included

7 videos6 readings4 assignments4 app items

7 videosβ€’Total 31 minutes
  • Using String Patterns and Rangesβ€’4 minutes
  • Sorting Result Setsβ€’3 minutes
  • Grouping Result Setsβ€’4 minutes
  • Built-in Database Functionsβ€’6 minutes
  • Date and Time Built-in Functionsβ€’3 minutes
  • Sub-Queries and Nested Selectsβ€’5 minutes
  • Working with Multiple Tablesβ€’6 minutes
6 readingsβ€’Total 22 minutes
  • [Optional] Hands-on Labs Using IBM Db2β€’1 minute
  • Summary: Refining Your Resultsβ€’5 minutes
  • SQL Cheat Sheet: Intermediate - LIKE, ORDER BY, GROUP BYβ€’5 minutes
  • [Optional] Hands-on Labs Using IBM Db2β€’1 minute
  • Summary: Functions, Multiple Tables, and Sub-queriesβ€’5 minutes
  • SQL Cheat Sheet: FUNCTIONS and Implicit JOINβ€’5 minutes
4 assignmentsβ€’Total 50 minutes
  • Graded Quiz: Refining Your Resultsβ€’15 minutes
  • Graded Quiz: Functions, Multiple Tables, and Sub-queriesβ€’15 minutes
  • Practice Quiz: Refining Your Resultsβ€’10 minutes
  • Practice Quiz: Functions, Multiple Tables, and Sub-queriesβ€’10 minutes
4 app itemsβ€’Total 90 minutes
  • Hands-on Lab: String Patterns, Sorting and Groupingβ€’30 minutes
  • Hands-on Lab: Built-in functionsβ€’20 minutes
  • Hands-on Lab: Sub-queries and Nested Selectsβ€’20 minutes
  • Hands-on Lab: Working with Multiple Tablesβ€’20 minutes

In this module you will learn the basic concepts of using Python to connect to databases. In a Jupyter Notebook, you will create tables, load data, query data using SQL magic and SQLite python library. You will also learn how to analyze data using Python.

What's included

6 videos3 readings2 assignments7 app items

6 videosβ€’Total 33 minutes
  • How to Access Databases Using Pythonβ€’6 minutes
  • Writing code using DB-APIβ€’6 minutes
  • Accessing Databases with SQL Magicβ€’6 minutes
  • Analyzing data with Pythonβ€’10 minutes
  • Connecting to a database using ibm_db APIβ€’2 minutes
  • Creating tables, loading data and querying dataβ€’4 minutes
3 readingsβ€’Total 13 minutes
  • Summary: Accessing databases using Pythonβ€’2 minutes
  • SQL Cheat Sheet: Accessing Databases using Pythonβ€’10 minutes
  • [Optional] Hands-on Labs Using IBM Db2β€’1 minute
2 assignmentsβ€’Total 25 minutes
  • Graded Quiz: Accessing databases using Pythonβ€’15 minutes
  • Practice Quiz: Accessing Databases using Pythonβ€’10 minutes
7 app itemsβ€’Total 200 minutes
  • Hands-on Lab: Creating tables, inserting and querying Dataβ€’20 minutes
  • Hands-on Tutorial: Accessing Databases with SQL magicβ€’20 minutes
  • Hands-on Lab: Analyzing a Real-World Data Setβ€’45 minutes
  • (Optional) Db2 Lab: Connecting to a database instanceβ€’20 minutes
  • (Optional) Db2 Lab: Creating tables, inserting and querying Dataβ€’30 minutes
  • (Optional) Db2 Lab: Tutorial, Accessing Databases with SQL magicβ€’20 minutes
  • (Optional) Db2 Lab: Analyzing a real World Data Setβ€’45 minutes

In this module, you will be working with multiple real-world datasets for the city of Chicago. You will be asked questions that will help you understand the data just as you would in the real world. You will be assessed on the correctness of your SQL queries and results.

What's included

2 videos4 readings2 assignments3 app items

2 videosβ€’Total 8 minutes
  • Working with Real World Datasetsβ€’6 minutes
  • Getting Table and Column Detailsβ€’2 minutes
4 readingsβ€’Total 5 minutes
  • Summary and Highlightsβ€’1 minute
  • [Optional] Hands-on Labs Using IBM Db2β€’1 minute
  • Congratulations & Next Stepsβ€’2 minutes
  • Thanks from the Course Teamβ€’1 minute
2 assignmentsβ€’Total 60 minutes
  • Graded Quiz on Assignmentβ€’30 minutes
  • Final Examβ€’30 minutes
3 app itemsβ€’Total 105 minutes
  • Hands-on Lab: Working with a real world data-setβ€’30 minutes
  • (Optional)Hands-on Lab: Practice Querying Real World Datasetsβ€’45 minutes
  • Final Assignment: Database Querying using SQLiteβ€’30 minutes

This module covers some advanced SQL techniques that will be useful for Data Engineers. In this module, you will learn how to build more powerful queries with advanced SQL techniques like views, transactions, stored procedures, and joins. If you are following the Data Engineering track, you must complete this module. Completion of this module is not required for those completing the Data Science or Data Analyst tracks.

What's included

6 videos6 readings2 assignments4 app items

6 videosβ€’Total 24 minutes
  • Viewsβ€’4 minutes
  • Stored Proceduresβ€’4 minutes
  • ACID Transactionsβ€’4 minutes
  • Join Overviewβ€’4 minutes
  • Inner Joinβ€’3 minutes
  • Outer Joinsβ€’6 minutes
6 readingsβ€’Total 29 minutes
  • About this Bonus Moduleβ€’2 minutes
  • [Optional] Hands-on Labs Using IBM Db2β€’2 minutes
  • Summary: Views, Stored Procedures, and Transactionsβ€’5 minutes
  • SQL Cheat Sheet: Views, Stored Procedures and Transactionsβ€’10 minutes
  • Summary: JOIN Statementsβ€’5 minutes
  • SQL Cheat Sheet: JOIN Statementsβ€’5 minutes
2 assignmentsβ€’Total 20 minutes
  • Practice Quiz: Views, Stored Procedures, and Transactionsβ€’10 minutes
  • Practice Quiz: Join Statementsβ€’10 minutes
4 app itemsβ€’Total 80 minutes
  • Hands-on Lab: Using Viewsβ€’20 minutes
  • Hands-on Lab: Stored Proceduresβ€’20 minutes
  • Hands-on Lab: Committing and Rolling Back a Transactionβ€’20 minutes
  • Hands-on Lab: Joinsβ€’20 minutes

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructors

Instructor ratings
4.6 (3,879 ratings)
IBM
55 Coursesβ€’5,118,042 learners
IBM
4 Coursesβ€’688,058 learners

Explore more from Data Analysis

Why people choose Coursera for their career

πŸ‘ Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
πŸ‘ Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
πŸ‘ Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
πŸ‘ Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    75.37%

  • 4 stars

    18.30%

  • 3 stars

    3.83%

  • 2 stars

    1.10%

  • 1 star

    1.38%

Showing 3 of 22666

MM
Β·

Reviewed on Oct 6, 2023

This course was an Excellent, Interesting, and knowledgeful game for me. I have been excited to lean SQL and Databases and finally IBM and Coursera let my dream come true. Thanks both of them!

AZ
Β·

Reviewed on Feb 11, 2025

Very intriguing first exposure to SQL for CS students! Loved the integration with Python. It was a bit hard to actually learn SQL from this exclusively, so using outside resources will be helpful.

AT
Β·

Reviewed on Feb 26, 2020

A very useful course with some very interesting datasets/Jupyter notebooks to work through/practice your skills. Offers a good balanced blend between theory and practical/practice. Very good course!

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you enroll in the course, you get access to all of the courses in the Certificate, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Financial aid available,

ΒΉ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.