Skip to content
Snippets Groups Projects
Commit 817dca3b authored by Peter J. Keleher's avatar Peter J. Keleher
Browse files

auto

parent 7d048884
No related branches found
No related tags found
No related merge requests found
......@@ -62,11 +62,21 @@ You are also provided with a Python file `SQLTesting.py` for testing your answer
- Question #4 - Your solution should assume the current year is **2020, not 2023**.
- Question #9 - Your solution should order by `countyname, statename ascending` .
### Native Mac Instructions
You should be able to install postgresql w/ homebrew, as shown in Assignment 1. For this assignment you will need to submit queries from a python script (`SQLTesting.py`), which relies on `psycopg2`. Install via `sudo pip3 install psycopg2`. You will need to change the user `vagrant` to your username in `SQLTesting.py`.
### Submission Instructions
Submit the `queries.py` file on Gradescope under <a href="https://www.gradescope.com/courses/535193/assignments/2852219">Assignment 1</a>.
### Apple Silicon (M1, M2...) Macs
You can use *Parallels* (not free) or **use postgres directly**, without vagrant and vmbox, via **Homebrew**:
```
brew install postgresql@14
brew services restart postgresql@14
```
Before running `SQLTesting.py`, you also need to install `psycopg2`:
```
pip3 install psycopg2
```
## Submission Instructions
See `queries.py` for queries to write.
Submit your altered `queries.py` file on Gradescope under <a href="https://www.gradescope.com/courses/535193/assignments/2852219">Assignment 1</a>.
### Assignment Questions
See `queries.py` file.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment