OCP 071中文考试题库(cuug内部资料)第4题
本套题库是OCP考试中的071(中文版)试题,由CUUG整理,如有报考OCP认证意向,可以联系cuug咨询老师。
4、请选择三项。
查看PRODUCTS表的说明:
Name Null? Type
----------------- ------------ ---------------
PRODUCT_ID NOT NULL NUMBER(2)
PRODUCT_NAME VARCHAR2 (10)
UNIT_PRICE NUMBER(3)
SURCHARGE VARCHAR2 (2)
EXPIRY_DATE DATE
DELIVERY_DATE DATE
哪三个查询使用的表达式有效?
A) SELECT product_id, unit_price, unit_price + surcharge FROM products;
B) SELECT product_id, unit_price, 5 "Discount", unit_price + surcharge - discount FROM products;
C) SELECT product_id, (unit_price * 0.15 / (4.75 + 552.25)) FROM products;
D) SELECT product_id, unit_price || 5 "Discount", unit_price + surcharge - discount FROM products;
E) SELECT product_id, expiry_date * 2 FROM products;
F) SELECT product_id, (expiry_date - delivery_date) * 2 FROM products;