From the course: PostgreSQL Essential Training
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Challenge: Import data and write queries - PostgreSQL Tutorial
From the course: PostgreSQL Essential Training
Challenge: Import data and write queries
(upbeat music) - [Narrator] All right, let's apply some of your knowledge about querying data to another challenge. For this challenge, you're tasked with importing data to fill in two tables and then write a query against that new data. In the chapter four folder of the exercise files are two CSV files, one for the departments and one for the employees. Use these to fill data into the respective tables in the human resources schema of the KinetEco database that you created in the previous challenge. These are common CSV formatted files with a UTF8 encoding, column headers, and a comma-delimiter character. Once you've imported the data, write a query that shows all of the employees that work in the South building. I estimate that this task should take less than 10 minutes to complete. In the next video, I'm going to walk through the steps to arrive at the solution. Good luck.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Import data from a CSV3m 39s
-
(Locked)
Retrieve information with a SELECT query4m 43s
-
(Locked)
Helpful pgAdmin Query Tool interface elements3m 24s
-
(Locked)
Join tables for additional information4m 45s
-
(Locked)
Save a query as a database view3m 15s
-
(Locked)
Challenge: Import data and write queries1m
-
(Locked)
Solution: Import data and write queries6m 8s
-
-
-
-