Need assistance:
Create a MySQL trigger named trg_updatecustbalance to update the CUST_BALANCE in the CUST_MYSQL table when a new invoice record is entered. (Assume that the sale is a credit sale.) Whatever value appears in the INV_AMOUNT column of the new invoice should be added to the customer’s balance. Test the trigger using the following new INV_MYSQL record, which would add 225.40 to the balance of customer 2001:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here