Here is a video tutorial on how to install Postgres on the Mac.
Extract the data.dump file from the attached data.zip file and use the psql command to create the sqlda database (see attached file)
Go to this site (https://www.python.org/downloads/) to install the latest Python distribution.
After watching this video, install Git and Github.
Submit one document with five screen shots from your computer. Include enough of the screen so the viewer can see that the image is of your computer.
1. sqlda tables in pgadmin
2 use \l to show a list of your PostgreSQL databases
5. R Studio
Please make sure that your images are large enough and high enough resolution for the reader to see the text in your queries and the results.
Please note that all code assignments must be submitted as a screenshot with a slice of your desktop showing the timestamp.If the time and date are not visible, you will be graded 0.
Using PGAdmin4 create the database sqlda. Then, use the psql command line tool available in the Postgres 12 program folder to restore the database.
Here is the sample text that I used.
c:\Program Files\PostgreSQL\12\bin>psql -U postgres -d sqlda -f "C:\Users\davep\OneDrive\Desktop\data2.dump"
In the cmd window, navigate to the foler where psql.exe resides. You can see above where it resides on my Windows computer after a default installation.
Execute the psql command tool and input these responses to the questions posed as follows:
Server [localhost]: localhost
Database [postgres]: postgres
Port : 5432
Password for user postgres: <your system password>
You can list your databases in the command line with \l
You can connect to the sqlda database with \c
Then you can list the database tables with \dt
You can also check in PFAdmin4 for the new database (you may need to refresh).