OCP 1Z0 051 75
来源:互联网 发布:sql语言由什么组成 编辑:程序博客网 时间:2024/05/30 07:14
75. The following data exists in the PRODUCTS table:
PROD_ID PROD_LIST_PRICE
123456 152525.99
You issue the following query:
SQL> SELECT RPAD(( ROUND(prod_list_price)), 10,'*')
FROM products
WHERE prod_id = 123456;
What would be the outcome?
A. 152526 ****
B. **152525.99
C. 152525** **
D. an error message
RPAD 右边补齐
LPAD 左边补齐
Answer: A
PROD_ID PROD_LIST_PRICE
123456 152525.99
You issue the following query:
SQL> SELECT RPAD(( ROUND(prod_list_price)), 10,'*')
FROM products
WHERE prod_id = 123456;
What would be the outcome?
A. 152526 ****
B. **152525.99
C. 152525** **
D. an error message
RPAD 右边补齐
LPAD 左边补齐
SQL> SELECT prod_id, 2 prod_list_price, 3 rpad((round(prod_list_price)), 10, '*') AS rp, 4 lpad((round(prod_list_price)), 10, '*') AS lp 5 FROM sh.products 6 WHERE prod_id = 13;PROD_ID PROD_LIST_PRICE RP LP------- --------------- -------------------- -------------------- 13 899.99 900******* *******9001 row selected
Answer: A
0 0
- OCP 1Z0 051 75
- OCP 1Z0 051 1
- OCP 1Z0 051 2
- OCP 1Z0 051 3
- OCP 1Z0 051 4
- OCP 1Z0 051 5
- OCP 1Z0 051 6
- OCP 1Z0 051 7
- OCP 1Z0 051 8
- OCP 1Z0 051 9
- OCP 1Z0 051 10
- OCP 1Z0 051 11
- OCP 1Z0 051 12
- OCP 1Z0 051 13
- OCP 1Z0 051 14
- OCP 1Z0 051 15
- OCP 1Z0 051 16
- OCP 1Z0 051 17
- error LNK2019: 无法解析的外部符号
- 3dmax 蒙皮 消失
- GPON学习-G984.3
- HDOJ A+B Problem
- 黑马程序员—IO流FileWriter
- OCP 1Z0 051 75
- Hanlder Looper Message MessageQueue
- 设计模式的分类
- Unity常用函数
- 编程语言,一路走来
- 翻译翻的想吐
- hdu 2102 bfs
- 02_android入门_实现短信/彩信发送的功能
- 别人的博客