我的编程空间,编程开发者的网络收藏夹
学习永远不晚

OCP-051-008

短信预约 -IT技能 免费直播动态提醒
省份

北京

  • 北京
  • 上海
  • 天津
  • 重庆
  • 河北
  • 山东
  • 辽宁
  • 黑龙江
  • 吉林
  • 甘肃
  • 青海
  • 河南
  • 江苏
  • 湖北
  • 湖南
  • 江西
  • 浙江
  • 广东
  • 云南
  • 福建
  • 海南
  • 山西
  • 四川
  • 陕西
  • 贵州
  • 安徽
  • 广西
  • 内蒙
  • 西藏
  • 新疆
  • 宁夏
  • 兵团
手机号立即预约

请填写图片验证码后获取短信验证码

看不清楚,换张图片

免费获取短信验证码

OCP-051-008

View the Exhibit and examine the structure of the CUSTOMERS table.
Which two tasks would require subqueries or joins to be executed in a single statement? (Choose two.)
观察下面的表结构, 哪儿个任务需要在一个语句中包含子查询或者joins

OCP-051-008



A. listing of customers who do not have a credit limit and were born before 1980
B. finding the number of customers, in each city, whose marital status is 'married'
C. finding the average credit limit of male customers residing in 'Tokyo' or 'Sydney'
D. listing of those customers whose credit limit is the same as the credit limit of customers residing in the city 'Tokyo'
E. finding the number of customers, in each city, whose credit limit is more than the average credit limit of all the customers




A. select * from CUSTOMERS  where cust_credit_limit=0 and cust_year_of_birth <1980;
B. select cust_city,count(*) from CUSTOMERS  where customer_marital='married' group by cust_city;
C. select avg(cust_credit_limit) from CUSTOMERS  where customer_city in('Tokyo','Sydney');
D. select * from customers where cust_credit_limit in(select cust_credit_limit from customers where customer_city='Tokyo')
E. select count(*),customer_city from CUSTOMERS  where customer_credit_limit>(select avg(customer_credit_limit) from CUSTOMERS   )  group by customer_city;

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

OCP-051-008

下载Word文档到电脑,方便收藏和打印~

下载Word文档

猜你喜欢

2024-04-02
2024-04-02

ocp-051-3

一、原题You need to extract details of those products in the SALES table where the PROD_ID column contains the string '_D123
2023-01-31
2024-04-02

oracle 12c ocp - 3

Examine the following query output:You issue the following command to import tables into the hr schema:$ > impdp hr/hr d
2023-01-31

你真的了解MySQL OCP吗?其实有两种MySQL OCP

大家可能都知道MySQL OCP认证,但你知道吗MySQL OCP其实是分两种,以MySQL 8.0为例, 一种是管理方向,叫:Oracle Certified Professional, MySQL 8.0 Database Admini
2023-08-16

ocp开闭原则_动力节点Java学院整理

开闭原则(Open Closed Principle)是Java世界里最基础的设计原则,它指导我们如何建立一个稳定的、灵活的系统。定义:一个软件实体如类、模块和函数应该对扩展开放,对修改关闭。Softeware entities like
2023-05-31

编程热搜

目录