【优技教育】Oracle 19c OCP 082题库(Q 23题)- 2024年修正版
考试科目:1Z0-082
考试题量:90
通过分数:60%
考试时间:150min
本文为(CUUG 原创)整理并解析,转发请注明出处,禁止抄袭及未经注明出处的转载。
原文地址:http://www.cuug.com/index.php?s=/home/article/detail/id/3407.html
第23题:
Q 23、
Choose TWO
Examine the data in the COLORS table:
RGB_HEX_VALUE COLOR_NAME
FF0000 red
00FF00 green
0000FF blue
Examine the data in the BRICKS table:
BRICK_ID COLOR_RGB_HEX_VALUE
1 FF0000
2 00FF00
3 FFFFFF
Which two queries return all the rows from COLORS?
A) SELECT *
FROM colors c
LEFT JOIN bricks b
USING (rgb_hex_value) ;
B) SELECT *
FROM bricks b
FULL JOIN colors c
ON b.color_rgb_hex_value= c.rgb_hex_value;
C) SELECT *
FROM colors c
LEFT JOIN bricks b
ON b.color_rgb_hex.value= c.xgb_hex_value
WHERE b.brick_id > 0;
D) SELECT *
FROM bricks b
JOIN colors c
ON b.color_rgb_hex_value= c.rgb_hex_value;
E) SELECT *
FROM bricks b
RIGHT JOIN colors c
ON b.color_rgb_hex_value= c.rgb_hex_value;
Answer:BE
(解析:这个考题就是一个新的变体,与查询所有员工的信息,没有部门的员工也要查出来一样的道理,所以要用到外连接,因为这个例子中 bricks 缺少颜色编码,所以要以 color 这张表为准。C 答案语法是对的,但是加上条件后就不能打印 colors 表所有的行了。)
Oracle 19c OCP认证需要到Oracle指定的WDP机构,有了培训记录之后才能考试,考试需要考2科,分别是082(60%及格)和083(57%及格),两科都通过之后才能拿到证书。证书如下:
特别声明:以上内容(如有图片或视频亦包括在内)为自媒体平台“网易号”用户上传并发布,本平台仅提供信息存储服务。
Notice: The content above (including the pictures and videos if any) is uploaded and posted by a user of NetEase Hao, which is a social media platform and only provides information storage services.