亚洲激情专区-91九色丨porny丨老师-久久久久久久女国产乱让韩-国产精品午夜小视频观看

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

OCP-051-006

發布時間:2020-08-09 14:06:42 來源:ITPUB博客 閱讀:125 作者:fwinmachao 欄目:關系型數據庫
6. 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.

向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

临沧市| 临朐县| 舞阳县| 青河县| 饶河县| 乌拉特前旗| 平湖市| 高淳县| 深泽县| 郸城县| 临汾市| 榆中县| 醴陵市| 怀来县| 栾川县| 讷河市| 平度市| 紫阳县| 朝阳市| 赣州市| 台山市| 施秉县| 彭阳县| 阜新| 久治县| 微博| 昭苏县| 介休市| 长白| 会宁县| 达拉特旗| 宝清县| 天祝| 泾阳县| 略阳县| 丘北县| 孟津县| 灵台县| 三穗县| 宿松县| 贵阳市|