Run the script to declare a temporary table, TAX_CAL_DGTT, to store the intermediate results while calculating the tax_payable by an employee based on the tax proof. The table is populated with base data needed for the calculation.

You will now repeat the same tax processing procedure, but this time using a Declared Global Temporary Table (DGTT). This table exists for the duration of the connection. For this tutorial, the table will be dropped as soon as the SQL script execution is completed.

You should see success statements in the lower right.