OCP-1Z0-051-标题决心-文章2称号

2. View the Exhibit to examine the description for the SALES table.

Which views can have all DML operations performed on it?

(Choose all that apply.)

A.

 CREATE VIEW v3
AS SELECT * FROM SALES
WHERE cust_id = 2034
WITH CHECK OPTION;

B. 

CREATE VIEW v1
AS SELECT * FROM SALES
WHERE time_id <= SYSDATE - 2*365
WITH CHECK OPTION;

C. 

CREATE VIEW v2
AS SELECT prod_id, cust_id, time_id FROM SALES
WHERE time_id <= SYSDATE - 2*365
WITH CHECK OPTION; 

D. 

CREATE VIEW v4
AS SELECT prod_id, cust_id, SUM(quantity_sold) FROM SALES
WHERE time_id <= SYSDATE - 2*365
GROUP BY prod_id, cust_id
WITH CHECK OPTION;

Answer: AB

题目解析:

题目是问,哪个视图能够运行全部的DML操作,我们知道要在视图上运行insert操作。那么该视图就要包括基表全部的非空字段,所以能够明显的推断出来C和D是错误的。另外D选项的SUM(quantity_sold) 这是错误的,本场将需要添加一个别名。

版权声明:本文博客原创文章,博客,未经同意,不得转载。

时间: 2024-10-06 00:53:39

OCP-1Z0-051-标题决心-文章2称号的相关文章

Oracle OCP 11G 051(61题版本)答案解析目录

Oracle OCP 11G 051(61题版本)答案解析目录 61题版本 V9.02 1 http://blog.csdn.net/rlhua/article/details/17635843 2  http://blog.csdn.net/rlhua/article/details/17635887 3 http://blog.csdn.net/rlhua/article/details/17635919 86 4 http://blog.csdn.net/rlhua/article/det

OCP-1Z0-051-名称解析-文章12称号

12. You need to produce a report where each customer's credit limit has been incremented by $1000. In the output, the customer's last name should have the heading Name and the incremented credit limit should be labeled New Credit Limit. The column he

文章13称号 Add Two Numbers

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list. Input: (2 -> 4 -> 3) + (5 -> 6 ->

leetcode文章137称号-Single Number II

#include<stdio.h> #include<stdlib.h> int singleNumber(int* nums, int numsSize) { int count[32]={0}; int i,j,number=0; for(i=0;i<numsSize;i++) { for(j=0;j<32;j++) count[j]+=((nums[i]&(1<<j))!=0); } for(i=0;i<32;i++) { if(coun

OCP-1Z0-051-名称解析-文章32称号

32. Which CREATE TABLE statement is valid? A. CREATE TABLE ord_details (ord_no NUMBER(2) PRIMARY KEY, item_no NUMBER(3) PRIMARY KEY, ord_date DATE NOT NULL); B. CREATE TABLE ord_details (ord_no NUMBER(2) UNIQUE, NOT NULL, item_no NUMBER(3), ord_date

浅谈标题对文章点击量的提升作用

http://t.qq.com/nanjingxia7551 http://t.qq.com/p/t/466214001064098 http://t.qq.com/lishuixiaojiebao http://t.qq.com/p/t/441720100016863 http://t.qq.com/wuxixiaojiebaoye http://t.qq.com/p/t/457708060557722 http://t.qq.com/jiangyinxi1705 http://t.qq.co

javascript常用工具函数总结(不定期补充)未指定标题的文章

前言 以下代码来自:自己写的.工作项目框架上用到的.其他框架源码上的.网上看到的. 主要是作为工具函数,服务于框架业务,自身不依赖于其他框架类库,部分使用到es6/es7的语法使用时要注意转码 虽然尽量在函数中做了错误情况的处理,仍有可能出现报错的情况(不定期完善) 1. 获取url上的参数 /** *获取url上的参数 * @return {object} * @example * getRequest() getRequest().paramA */ function getRequest(

公众号文章标题怎么写-亮眼不平淡

微信公众号推广效果如何,主要是看公众号的内容,而文章标题是公众号内容如何最直观的展现.微信公众号在写文章的过程中,如何写出一个好的标题,一个抢眼的标题了.公众号的标题要新颖,但绝对不是标题党. 亮眼的标题在提升点击率方面扮演着重要的角色,好比商品价码标签,用它来向你的潜在买主打招呼.想要写出一则叫好又叫座的标题,你首先需要明确,?一个好标题和一个烂标题之间?,有哪些区别?坏标题有两种,一种平平淡淡,让人毫无点击欲;另一种是虚张声势,能吸引人点击,但标题下的内容却完全牛头不对马嘴,内容打不倒用户的

实用scrapy批量下载自己的博客园文章

首先,在items.py中定义几个字段用来保存网页数据(网址,标题,网页源码) 如下所示: import scrapy class MycnblogsItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() page_title = scrapy.Field() page_url = scrapy.Field() page_html = scrapy.Field() 最重要的是我