pagila-midterm
Due Date:
Sunday, 12 March at midnight.
You are not timed on the midterm, and may stop and restart it as many times as you'd like. If you choose to do so, please be mindful of the collaboration policy.
Collaboration Policy:
You may not collaborate with any human on this assignment. In particular, you cannot:
- work with another student,
- or post questions on github/stackoverflow.
You are allowed to reference any non-human resource created before the midterm was assigned. In particular, you are encouraged to reference:
- a running postgresql instance,
- your previous assignments,
- the class notes,
- and other online references/documentation.
Instructions:
The instructions are essentially the same as for the pagila homeworks:
-
Fork this repository.
-
There are 4 problems in the midterm, each in a separate file in the
sql
folder. Each problem is worth 8 points, and the midterm is worth 32 points overall.For each problem, write the answer in the .sql file just like you did in the homeworks. There is no
expected
output for you to compare your answers against, and no test cases.NOTE: I will grade your answers manually.
-
Expect me to be very stingy with partial credit, so make sure you read the questions carefully and are answering exactly what is being asked for.
-
Your SQL code must have a "reasonable" style that makes it easy for me to see at a glance what tables you're joining and what clauses you're using.
-
I don't explicitly ask for any sorting orders in the problems, but you should always choose something "reasonable".
-
-
Commit your changes and push them to github.
-
Submit a link to your repo to sakai, along with the statement:
I have not collaborated with anyone on this midterm.