COMP9315 assignments using PostgreSQL-9.3.4