MySQL assignment for uni