單項(xiàng)選擇題你需要為每個(gè)客戶的信息額度增加$1000。在輸出時(shí),客戶的lastname列頭應(yīng)為()

A.SELECT.cust_last_name.Name,cust_credit_limit+1000"New.Credit.Limit"FROM.customers
B.SELECT.cust_last_name.ASName,cust_credit_limit+1000AS.New.Credit.Limit.FROM.customers
C.SELECT.cust_last_name.AS"Name",cust_credit_limit+1000AS"New.Credit.Limit"FROM.customers
D.SELECT.INITCAP(cust_last_name)"Name",cust_credit_limit+1000INITCAP("NEWCREDITLIMIT")FROM.customers


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題

查看promotion(促銷表),每個(gè)促銷周期為7天。你的經(jīng)理要你生成一個(gè)報(bào)表,提供每周的促銷成本()

A.SELECT.promo_name,promo_cost/promo_end_date-promo_begin_date/7FROMpromotions
B.SELECT.promo_name,(promo_cost/promo_end_date-promo_begin_date)/7FROMpromotions
C.SELECT.promo_name,promo_cost/(promo_end_date-promo_begin_date/7)FROMpromotions
D.SELECT.promo_name,promo_cost/((promo_end_date-promo_begin_date)/7)FROMpromotions

2.單項(xiàng)選擇題在表emp里,計(jì)算員工的年薪SAL*12并生成別名AnnualSalary的是()

A.SELECT.ename,sal*12,Annual.Salary.FROM.emp
B.SELECT.ename,sal*12"Annual.Salary"FROM.emp
C.SELECT.ename,sal*12AS.Annual.Salary.FROM.emp
D.SELECT.ename,sql*12AS.INICTAP("AnnualSalary")FROM.emp

3.多項(xiàng)選擇題下列關(guān)于ORACLE的to_date函數(shù)和to_char函數(shù),描述正確的是()

A.to_char函數(shù)是將字符串?dāng)?shù)據(jù)轉(zhuǎn)換為日期數(shù)據(jù)
B.to_date函數(shù)是將字符串?dāng)?shù)據(jù)轉(zhuǎn)換為日期數(shù)據(jù)
C.to_char函數(shù)是將日期數(shù)據(jù)轉(zhuǎn)換為字符數(shù)據(jù)
D.to_date函數(shù)是將日期數(shù)據(jù)轉(zhuǎn)換為字符數(shù)據(jù)

4.多項(xiàng)選擇題下面哪個(gè)SQL語句顯示1890.55as$1,890.55()

A.SELECT.TO_CHAR(1890.55,’$0G000D00’)FROMDUAL
B.SELECT.TO_CHAR(1890.55,’$9,999V99’)FROMDUAL
C.SELECT.TO_CHAR(1890.55,’$99,999D99’)FROMDUAL
D.SELECT.TO_CHAR(1890.55,’$99G999D00’)FROMDUAL
E.SELECT.TO_CHAR(1890.55,’$99G999D99’)FROMDUAL

5.單項(xiàng)選擇題關(guān)于單行函數(shù),哪一個(gè)描述是正確的()

A.他們只能接受一個(gè)參數(shù)
B.他們只能嵌套兩層
C.參數(shù)只能是字段值或常量
D.他們始終為查找表中的每個(gè)行返回一個(gè)值