Second project of the Database laboratory about making queries in SQL considering triggers and functions