OCP认证071中文考试题库原题(cuug内部资料)第64题
最新学讯:近期OCP认证正在报名中,因考试人员较多请尽快报名获取最近考试时间,报名费用请联系在线老师,甲骨文官方认证,报名从速!
我要咨询本套题库是OCP考试中的071(中文版)试题,由CUUG整理,如有报考OCP认证意向,可以联系cuug咨询老师。
64、请选择两项。
查看COLORS表中的数据:
RGB_HEX_VALUE COLOR_NAME
------------------------- -----------------------
FF0000 red
00FF00 green
0000FF blue
查看BRICKS表中的数据:
BRICK_ID COLOR_RGB_HEX_VALUE
-------------- --------------------------------------
1 FF0000
2 00FF00
3 FFFFFF
哪两个查询返回COLORS中的所有行?
A) SELECT *
FROM colors c
LEFT JOIN bricks b
ON b.color_rgb_hex_value = c.rgb_hex_value
WHERE b.brick_id > 0;
B) SELECT *
FROM bricks b
RIGHT JOIN colors c
ON b.color_rgb_hex_value = c.rgb_hex_value;
C) SELECT *
FROM colors c
LEFT JOIN bricks b
USING (rgb_hex_value) ;
D) SELECT *
FROM bricks b
JOIN colors c
ON b.co1or_rgb_hex_value = c.rgb_hex_value;
E)SELECT *
FROM bricks b
FULL JOIN colors c
ON b.color_rgb_hex_value = c.rgb_hex_value;
CUUG整理