找考题网-背景图
单项选择题

Given the following statements: CREATE TABLE tab1 (col1……

Given the following statements:
CREATE TABLE tab1 (col1 INT); CREATE TABLE tab2 (col1 INT); CREATE TRIGGER trig1 AFTER UPDATE ON tab1 REFERENCING NEW AS new1 FOR EACH ROW MODE DB2SQL INSERT INTO tab2 VALUES(new1.col1); INSERT INTO tab1 VALUES(2),(3);
What is the result of the following query? SELECT count(*) FROM tab2;()



A.3
B.2
C.1
D.0

热门试题