Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Evaluate the following: BEGIN FOR i IN 1..10 LOOP IF I=4 OR I=6 THEN null; I:=0; ELSE I:=i+1; INSERT INTO test(result) VALUES (I); END IF;
Evaluate the following:
BEGIN
FOR i IN 1..10 LOOP
IF I=4 OR I=6 THEN null;
I:=0;
ELSE
I:=i+1;
INSERT INTO test(result)
VALUES (I);
END IF;
COMMIT;
END LOOP;
ROLL BACK;
END.
How many values will be inserted into the test table? Blank 1
NB: Write only the number.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started