In this hands-on lab, students will be provided with multiple formats of the same dataset, and be asked to convert between them.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Convert the CSV File to a PostgreSQL Table
- Load the CSV file to a postgres table using the
COPY
command.
- Load the CSV file to a postgres table using the
- Convert from a PostgreSQL Table to CSV
- Make an update to the PostgreSQL table and convert to a CSV file using the
COPY
command.
- Make an update to the PostgreSQL table and convert to a CSV file using the
- Convert JSON to CSV
- Convert a JSON file to CSV format using the
jq
JSON query client.
- Convert a JSON file to CSV format using the