- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Extracting Data
In this hands-on lab, students will be required to extract only the valid data from different sources and formats, combining them into one cohesive output.

Lab Info
Table of Contents
-
Challenge
Convert the CSV File to a PostgreSQL Table
- Convert the CSV file to a PostgreSQL database table by creating a new table and loading the data from the CSV file using the copy command.
-
Challenge
Query the Data in PostgreSQL
- Query the data by joining the newly created users table with the contacts table on the ID column and selecting only the rows with a valid expense code (100, 200, or 300).
-
Challenge
Export the Query Results to a CSV File
- Export the valid names and email addresses to a new CSV file using the copy command.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.