adplus-dvertising
frame-decoration

Question

What would be the outcome of the below query?
CREATE TABLE digits
(id NUMBER(2),
description VARCHAR2(15));
INSERT INTO digits VALUES (1,'ONE');
UPDATE digits SET description ='TWO' WHERE id=1;
INSERT INTO digits VALUES (2,'TWO');
COMMIT;
DELETE FROM digits;
SELECT description FROM digits
VERSIONS BETWEEN TIMESTAMP MINVALUE AND MAXVALUE;

a.

It would not display any values

b.

It would display the value TWO once

c.

It would display the value TWO twice

d.

It would display the values ONE, TWO, and TWO

Posted under DBMS

Answer: (c).It would display the value TWO twice

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What would be the outcome of the below query?

Similar Questions

Discover Related MCQs

Q. A non-correlated subquery can be defined as ______

Q. Which statement is true regarding external tables?

Q. In which scenario would you use the ROLLUP operator for expression or columns within a GROUP BY clause?

Q. EMPDET is an external table containing the columns EMPNO and ENAME. Which command would work in relation to the EMPDET table?

Q. __________ are used to ensure that transactions access each data item in order of the transactions’ ____ if their accesses conflict.

Q. A concurrency-control policy such as this one leads to ______ performance, since it forces transactions to wait for preceding transactions to finish before they can start.

Q. In concurrency control policy the the lock is obtained on

Q. Which server can joins the indexes when only multiple indexes combined can cover the query:

Q. Which are types of recovery control techniques:

Q. How many types of recovery control techniques:

Q. Copying files to secondary or specific devices is known as ______

Q. Database security helps organizations to protect data from _____

Q. Optimization basically related to the Rewrite module is termed as_______

Q. Optimization that is basically related to the rewriter module is termed as__________

Q. Which is duplication of computer operations and routine backups to combat any unforeseen problems:

Q. Which is a duplicate copy of a file program that is stored on a different storage media than the original location:

Q. Which is refers to a stalemate situation due to which no further progress is possible as computer await response of each other:

Q. Which formal method that locates and analyses relation schemas on the basis of their primary, candidate keys, and the FD’s that are present among the attributes of these schemas:

Q. Which is the process of breaking a relation into multiple relations:

Q. E.F.Codd developed the normalization process in the which early: