Dataanalytics | Computer Science homework help


Attached Files:

File  Click for more options (8.919 MB) File Restoring_Postgres.txt  Click for more options (996 B)Go to this  site to install PostgreSQL and pgadmin.

Here is a video tutorial on how to install Postgres on the Mac.

Extract the data.dump file from the attached file and use the psql command to create the sqlda database (see attached file)

Go to this site ( to install the latest Python distribution. 

Go to this site ( to install the R programming language and this site to download the free R Studio development environment.

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

3. An Idle page with a hello World script (tutorial here and here)

4. Github

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:

c:\Program Files\PostgreSQL\12\bin>psql

Server [localhost]: localhost

Database [postgres]: postgres

Port [5432]: 5432

Username [postgres]:postgres

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).