What is the result of compiling and executing this code fragment?

Given the database table:

And given this class:

Assume that the SQL integer queries are valid. What is the result of compiling and executing this code fragment?

Given the database table:

And given this class:

Assume that the SQL integer queries are valid. What is the result of compiling and executing this code fragment?

A.
A

B.
B

C.
C

D.
D

E.
E

Explanation:

The code will compile now.
The three rows with PRICE in between 5.5 and 9.5 will be displayed.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


peter

peter

PRICE of 10001 should be 5.50 instead of 50.50