Advanced databases assigment