返回顶部
首页 > 资讯 > 数据库 >OCP-051-008
  • 458
分享到

OCP-051-008

2024-04-02 19:04:59 458人浏览 安东尼
摘要

View the Exhibit and examine the structure of the CUSTOMERS table. Which two tasks would require subque

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;
您可能感兴趣的文档:

--结束END--

本文标题: OCP-051-008

本文链接: https://lsjlt.com/news/47702.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

猜你喜欢
  • OCP-051-008
    View the Exhibit and examine the structure of the CUSTOMERS table. Which two tasks would require subque...
    99+
    2024-04-02
  • OCP-051-006
    6. Examine the structure of the SHIPMENTS table:     检查表SHIPMENTS 的结构 name Null Type PO_ID NO...
    99+
    2024-04-02
  • OCP-051-002
    2. View the Exhibit to examine the description for the SALES table.     Which views...
    99+
    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 '...
    99+
    2023-01-31
    ocp
  • OCP-1Z0-051 62题个人理解
    一、原题View the Exhibit and examine the structure of the CUSTOMERS table.You want to generate a report sho...
    99+
    2024-04-02
  • oracle 12c ocp - 1
    To implement Automatic Memory Management (AMM), you set the following parameters:When you try to start ...
    99+
    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/h...
    99+
    2023-01-31
    oracle ocp
  • 你真的了解MySQL OCP吗?其实有两种MySQL OCP
    大家可能都知道MySQL OCP认证,但你知道吗MySQL OCP其实是分两种,以MySQL 8.0为例, 一种是管理方向,叫:Oracle Certified Professional, MySQL 8.0 Database Admini...
    99+
    2023-08-16
    mysql 数据库 oracle ocp mysql ocp
  • 1Z0-051-DDL-创建同义词和序列
    创建同义词和序列1、同义词(synonym)同义词是对象的备选名称。分为公有同义词和私有同义词。【创建公有synonym】SQL>create public synonym emp for ...
    99+
    2024-04-02
  • 我的数据库OCP
     监听的作用就是给客户端电脑和中心数据库电脑建立数据的连接。一旦建立连接就不对两者造成任何影响,连接上的客户端上的用户可以做任何操作和查询,哪怕监听已经关闭或者被破坏,只是在停止后新的远程连接不能...
    99+
    2024-04-02
  • MySQL OCP报考流程
    登录vue网站 https://www.pearsonvue.com.cn/ 打开“考生”主页 搜索Oracle相关考试内容 登录自己的账号 ...
    99+
    2024-04-02
  • ocp|ocm考证系列文章!
    为了让大家全方位了解ocp考证的过程以便大家能够腾出更多的时间全身心的学习oracle...我一连写了和ocp,ocm考证或者是和oracle dba这个职业相关的系列文章供大家参考。文章主题和内容也越...
    99+
    2024-04-02
  • 1Z0-051-DDL-2简单索引的创建和删除
    索引具有两个功能:一是强制实施主键约束和唯一约束,二是提高性能但是会减低DML操作性的性能。 1.1 索引的必要性       一、索引...
    99+
    2024-04-02
  • Oracle OCP 和MySQL OCP 考试完成后查询成绩和下载证书的步骤
    我的一些学员考完Oracle OCP和MySQL OCP不知道如何查看自己的考试成绩和证书,姚远老师现在详细说明具体的操作步骤,一共8步。 关于号主,姚远: Oracle ACE(Oracle和My...
    99+
    2023-09-26
    oracle mysql oracle ocp mysql ocp
  • 1z0-062 数据库OCP题库2
    Examine the parameters for a database instance: NAME TYPE VALUE temp_...
    99+
    2024-04-02
  • OCP->047(Les10 Creating Other Schema Object)[20171213]
    目的: ...
    99+
    2024-04-02
  • 1Z0-051-DDL-主要数据库对象和数据类型
    1、SQL 经常使用到的对象包括:表、视图、同义词、索引和视图表(table)以行和列形式存储数据。视图(view)是存储的SELECT语句,可以像表一样引用它。同义词(synonym)是...
    99+
    2024-04-02
  • OCP考试的那段难忘的经历
    OCP考试的那段难忘的经历作者:mjboy       我静静地坐在床前,望着门外的走廊,逐渐稀少走动的人群,这一刻,一切都很安静,人们都已入睡,唯独我还在...
    99+
    2024-04-02
  • 亲身经历的一次Mysql OCP考试
            2020年5月下旬参加的Mysql OCP考试,考完10分钟后就收到邮件得知自己通过了考试,1天后就在Orac...
    99+
    2024-04-02
  • Oracle学习笔记之第八节sql语句(开发课学生指南051)
     开发课 做练习 学生指南051 les01 ppt oracle经常两表连接,叫第三范式,如带有ID性质的东西 以下是sql语句的命令 select * ...
    99+
    2024-04-02
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作