SQL scripts for Advanced Databases