mysql中实现触发器插入数据前校验数据
创建表填入数据:CREATE DATABASE test` ;USE `test`;DROP TABLE IF EXISTS `account`;CREATE TABLE `account` ( `acct_num` int(10) unsigned NOT NULL, `amount` decimal(10,2) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;insert in