Here's the code:
http://pastebin.com/f2C6TEs7
I would have used SQL fiddle but it doesn't seem like it agrees with the constraint syntax even though it's working fine in my local database. I used this exact snippet to populate my database on the school server.
http://pastebin.com/f2C6TEs7
I would have used SQL fiddle but it doesn't seem like it agrees with the constraint syntax even though it's working fine in my local database. I used this exact snippet to populate my database on the school server.