The SQL code consists of four files, namely: user.sql; asset.sql; transactions.sql; data_insert.sql; trading.sql

The first three include the creation of each table, the setting of constraints, the deployment of triggers and functions, and the Insertion of original information.

The data_insert.sql file inserts the original information of user and asset;

The trading.sql  file executes the transaction while testing the functionality of the triggers; 
it also tests the validity of the constraints, showing evidence of transaction rollback and commit operations.