Skip to content
KnowledgeCity

Reading and Creating Tables for Data Analysis in SQL

Discover how to create and read tables with performant queries in SQL
Preview the first lesson free — get full access to all 3 lessons.
Course: On-Demand
Intermediate Provider Eric Grose  3 Lessons ·  9m  in English 

Course Description

The language of SQL branches into two subjects: Data Definition Language (DDL) and Data Manipulation Language (DML). DDL is synonymous with creating tables, and DML is also known as reading tables using SQL. An analyst must first create tables before they can analyze them, so it’s vitally important to understand DDL. Thankfully, many tools allow you to create tables and perform other DDL operations using the User Interface (UI). However, it’s a core competency in SQL to understand how these tables are created.

By the end of these lessons, you will be able to analyze table contents using DML. This is known as manipulation because you are not altering the data; rather, you are constructing the data to fit the question you are trying to answer. You’ll also learn about DML’s ability to include or exclude certain columns, derive custom columns, order your data based on specific criteria, filter your data to match a particular pattern, and more.

What You'll Learn

  • Write proper DDL syntax to create tables in SQL
  • Use the User Interface (UI) to create tables
  • Apply DML to read and analyze table contents in SQL
  • Include or exclude columns and derive custom columns in queries
  • Order data based on specific criteria and filter it to match a particular pattern
  • Write performant queries for data analysis using SQL

Key Takeaways

  • SQL branches into two subjects: Data Definition Language (DDL) for creating tables and Data Manipulation Language (DML) for reading tables.
  • An analyst must first create tables with DDL before they can analyze them, making DDL a vital core competency.
  • Many tools let you create tables and perform DDL operations through the User Interface, but understanding how tables are created remains a core SQL skill.
  • DML is called manipulation because you construct the data to fit the question you are answering rather than altering the underlying data.
  • DML lets you include or exclude columns, derive custom columns, order data by specific criteria, and filter data to match a particular pattern.

Frequently Asked Questions

What will I be able to do by the end of this course?

By the end of the lessons you will be able to analyze table contents using DML, write proper syntax to create tables with DDL, use the User Interface to create tables, and write performant queries for data analysis using SQL.

What is the difference between DDL and DML in this course?

DDL (Data Definition Language) is synonymous with creating tables, while DML (Data Manipulation Language) is known as reading tables using SQL. DML is called manipulation because you construct the data to fit your question rather than altering it.

What topics do the lessons cover?

The course includes three lessons: Creating Data Tables in SQL, Reading Data Tables in SQL, and Analyzing Data Tables in SQL.

What skills will I gain from this course?

The course builds skills in Data Analysis, Data Literacy, Data Manipulation, Data Modeling, Database Analysis, and working with Tabular Data.