OCP-051-006
发表于:2025-01-20 作者:千家信息网编辑
千家信息网最后更新 2025年01月20日,6. Examine the structure of the SHIPMENTS table:检查表SHIPMENTS 的结构name Null TypePO_ID NOT NULL NUMBER(
千家信息网最后更新 2025年01月20日OCP-051-0066. Examine the structure of the SHIPMENTS table:
检查表SHIPMENTS 的结构
name Null Type
PO_ID NOT NULL NUMBER(3)
PO_DATE NOT NULL DATE
SHIPMENT_DATE NOT NULL DATE
SHIPMENT_MODE VARCHAR2(30)
SHIPMENT_COST NUMBER(8,2)
You want to generate a report that displays the PO_ID and the penalty amount to be paid if the SHIPMENT_DATE is later than one month from the PO_DTAE. The penalty is $20 per day.Evaluate the following two queries:
你想生成一个显示po_id和罚款金额的报表, 如果SHIPMENT_DATE 晚于PO_DTAE一个月,那么将会产生罚款,罚款金额为每天$20.
SQL> SELECT po_id, CASE
WHEN MONTHS_BETWEEN (shipment_date,po_date)>1 THEN
TO_CHAR((shipment_date - po_date) * 20) ELSE 'No Penalty' END PENALTY FROM shipments;
SQL>SELECT po_id, DECODE (MONTHS_BETWEEN (po_date,shipment_date)>1, TO_CHAR((shipment_date - po_date) * 20), 'No Penalty') PENALTY FROM shipments;
Which statement is true regarding the above commands?
A. Both execute successfully and give correct results.
B. Only the first query executes successfully but gives a wrong result.
C. Only the first query executes successfully and gives the correct result.
D. Only the second query executes successfully but gives a wrong result.
E. Only the second query executes successfully and gives the correct result.
检查表SHIPMENTS 的结构
name Null Type
PO_ID NOT NULL NUMBER(3)
PO_DATE NOT NULL DATE
SHIPMENT_DATE NOT NULL DATE
SHIPMENT_MODE VARCHAR2(30)
SHIPMENT_COST NUMBER(8,2)
You want to generate a report that displays the PO_ID and the penalty amount to be paid if the SHIPMENT_DATE is later than one month from the PO_DTAE. The penalty is $20 per day.Evaluate the following two queries:
你想生成一个显示po_id和罚款金额的报表, 如果SHIPMENT_DATE 晚于PO_DTAE一个月,那么将会产生罚款,罚款金额为每天$20.
SQL> SELECT po_id, CASE
WHEN MONTHS_BETWEEN (shipment_date,po_date)>1 THEN
TO_CHAR((shipment_date - po_date) * 20) ELSE 'No Penalty' END PENALTY FROM shipments;
SQL>SELECT po_id, DECODE (MONTHS_BETWEEN (po_date,shipment_date)>1, TO_CHAR((shipment_date - po_date) * 20), 'No Penalty') PENALTY FROM shipments;
Which statement is true regarding the above commands?
A. Both execute successfully and give correct results.
B. Only the first query executes successfully but gives a wrong result.
C. Only the first query executes successfully and gives the correct result.
D. Only the second query executes successfully but gives a wrong result.
E. Only the second query executes successfully and gives the correct result.
金额
报表
结构
检查
生成
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
网络安全宣传书法
徐汇区技术网络技术备案
linux下新建数据库
ntp授时服务器说明书
戴尔服务器提示boot引导
前锦网络技术科技有限公司
access多数据库合并
2003 文件服务器
私有云比自己买服务器性价比高吗
数据库for mac
电大数据库期末考试
湛江软件开发公司排名
网络安全攻防演练 方案
Java数据库库存管理
项目管理软件多方协作数据库
迪普接入网络安全专家
方舟服务器招管理
武汉软件开发吧
深耕互联网木链科技
数据库关系中存在的问题
ssr启动服务器失败
网络安全教育团课心得六百字
常见的网络安全防范措施与技术
网络安全法全文试题
和睦小镇保卫战连接ea服务器
应用软件开发订制
中化集团互联网科技公司
网页连服务器
网络技术培训是否合法
单位网络安全主管部门职责