Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Instructor:
TAs:
Course page:
Email:
Instructions
NOTE: The zoo DBMS wont be available till Thursday (23-Jan), which is why the due date for this
assignment is next Thursday, instead of Tuesday.
If you havent already done so, please sign up so that we can create your account.
Youll need to add this class on the zoo. If you dont have a zoo account, please get one at
http://zoo.cs.yale.edu/accounts.html.
For this course, we will be using PostgreSQL (nicknamed postgres), an open-source DBMS
(database management system). Its a client/server system the server (called the
postmaster) accepts connections to a database and performs actions on behalf of the clients.
If you want to use some other DBMS, please speak to one of the TAs. If you are unable or
unwilling to get a zoo account, you can install postgres on your own computer again, please
speak to one of the TAs if you choose to do this.
We will be using psql (a command line SQL interpreter) on the frontend to communicate with
the server. There are many other clients available, such as pgAdmin and OpenOffice Base youre free to use whatever software youre most comfortable with.
After your account has been created, log in to the zoo and run the command:
psql -h lab.zoo.cs.yale.edu U username
Initially, your password will be cs437. To change your password, run:
ALTER USER username WITH PASSWORD new password;
Your username is derived from the email address you signed up with. If you signed up with
debayn.gupta@yale.edu, your username is debayangupta (no special characters).
All HWs should be emailed to cs437.s14@gmail.com. You may send text, word, or pdf files (or
some other common format), but all code must be in plain text. So, if youre submitting a pdf,
send an additional text file with the code.
To make things easy for us, please put Assignment X as the subject for each submission (this,
of course, will be Assignment 1).
You are free to use any and all resources you can access, as long as you do the work yourself,
and cite all sources. This means that you can find your definitions on Wikipedia, search for
solutions to SQL issues on forums, etc. You should know this already, but well say it anyway:
You may not collaborate with other students or get other people to do your HW for you.