本套题库是OCP考试中的071(中文版)试题,由CUUG整理。
19、请选择两项。
查看BRICKS表中的数据:
SHAPE WEIGHT
-------- ------
cube 5
cuboid 10
cylinder 15
查看BOXES表:
BOX_SIZE MIN_WEIGHT MAX_WEIGHT
---------------- -------------- ---------------
SMALL 0 10
哪两个查询仅返回CUBE?
A) SELECT shape
FROM bricks
JOIN boxes
ON weight > min_weight;
B) SELECT shape
FROM bricks
JOIN boxes
ON weight >= min_weight
AND weight < max_weight;
C) SELECT shape
FROM bricks
JOIN boxes
ON weight BETWEEN min_weight AND max_weight;
D) SELECT shape
FROM bricks
JOIN boxes
ON weight < max_weight;
E) SELECT shape
FROM bricks
JOIN boxes
ON NOT (weight > max_weight) ;