触发器问题!
T1 结构
HID int not null
LID int not null
Result bit not null
//HID LID 主键
T2 结构
HID int not null
LID int not null
HID int not null
Alls int not null
C030 int not null
C50100 int not null
C230530 int not null
//HID LID 主键
要求:
当T1 插入一条记录,则在T2中添加一条记录,并统计T1表中Result为True中的个数 和 前30个为True的个数......
[解决办法]
建议给出具体测试数据