单选题Which SELECT statement will the result ‘ello World’ from the string ‘Hello World’?()ASELECT SUBSTR( ‘Hello World’,1) FROM dual;BSELECT INITCAP(TRIM (‘Hello World’, 1,1)) FROM dual;CSELECT LOWER(SUBSTR(‘Hello World’, 1, 1) FROM dual;DSELECT LOWER(SUBSTR(‘Hello World’, 2, 1) FROM dual;ESELECT LOWER(TRIM (‘H’ FROM ‘Hello World’)) FROM dual;

单选题
Which SELECT statement will the result ‘ello World’ from the string ‘Hello World’?()
A

SELECT SUBSTR( ‘Hello World’,1) FROM dual;

B

SELECT INITCAP(TRIM (‘Hello World’, 1,1)) FROM dual;

C

SELECT LOWER(SUBSTR(‘Hello World’, 1, 1) FROM dual;

D

SELECT LOWER(SUBSTR(‘Hello World’, 2, 1) FROM dual;

E

SELECT LOWER(TRIM (‘H’ FROM ‘Hello World’)) FROM dual;


参考解析

解析: 暂无解析

相关考题:

与“SELECT DISTINCT歌手号:FROM歌手WHERE最后得分>=ALL; (SELECT最后得分FROM歌手WHERE SUBSTR(歌手号,1,1)=“2”)”等价的SQL语句是 ______。A.SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=; (SELECT MAX(最后得分)FROM歌手WHERE SUBSTR(歌手号,1,1)=“2”)B.SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=; (SELECT MIX(最后得分)FROM歌手WHERE SUBSTR(歌手号,1,1)=“2”)C.SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=ANY; (SELECT最后得分FROM歌手WHERE SUBSTR(歌手号,1,1)=“2”)D.SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=SOME; (SELECT最后得分FROM歌手WHERE SUBSTR(歌手号,1,1)=“2”)

与 “ SELECT DISTINCT 歌手号 FROM 歌手 WHERE 最后得分> = ALL ;(SELECT 最后得分 FROM 歌手 WHERE SUBSTR( 歌手号 ,1,1)="2") ” 等价的 SQL 语句是A)SELECT DISTINCT 歌手号 FROM 歌手 WHERE 最后得分> = ;(SELECT MAX( 最后得分 ) FROM 歌手 WHERE SUBSTR( 歌手号 ,1,1)="2")B)SELECT DISTINCT 歌手号 FROM 歌手 WHERE 最后得分> = ;(SELECT MIN( 最后得分 ) FROM 歌手 WHERE SUBSTR( 歌手号 ,1,1)="2")C)SELECT DISTINCT 歌手号 FROM 歌手 WHERE 最后得分> =ANY ;(SELECT 最后得分 FROM 歌手 WHERE SUBSTR( 歌手号 ,1,1)="2")D)SELECT DISTINCT 歌手号 FROM 歌手 WHERE 最后得分> =SOME ;(SELECT 最后得分 FROM 歌手 WHERE SUBSTR( 歌手号 ,1,1)="2")

以下程序的输出结果是 ______。includeincludevoidmain(){char *p1=",he 以下程序的输出结果是 ______。 #include<iostream.h> #include<string.h> void main(){ char *p1=",hello",*p2="world!",str[50]:"Hii"; strcpy(str+2,p1); strcat(str,p2); cout<<str; }A.Hii,hello world!B.hello world!C.ii,hello world!D.Hi,hello world!

查询订购单号(字符型,长度为4)尾字符是“1”的错误命令是A.SELECT*FROM订单WHERE SUBSTR(订购单号,4)=“1”B.SELECT*FROM订单WHERE SUBSTR(订购单号,4,1)=“1”C.SELECT*FROM订单WHERE“1”$订购单号D.SELECT*FROM订单WHERE RIGHT(订购单号,1)=“1”

下列字符型常量Hello,world!表示方法中,错误的是______。A.[Hello,world!]B.'Hello,wOrld!'C.Hello,world!,D.{Hello,world!}

查询订购单号(字符型,长度为4)尾字符是“1”的错误命令是( )。A.SELECT*FROM订单WHERE SUBSTR(订购单号,4)=”l”B.SELECT*FROM订单WHERE SUBSTR(订购单号,4,1)=”l”C.SELECT*FROM订单WHERE”1”$订购单号D.SELECT*FROM订单WHERE RIGHT(订购单号,l)=”l”

在C++语言中输出“Hello World”的语句是()。A.cout>"Hello World";C.cin 在C++语言中输出“Hello World”的语句是( )。A.cout<<"Hello World";B.cout>>"Hello World";C.cin<<"Hello World";D.cin>>"Hello World";

查询学号(字符型,长度为8)尾字符是“0”的命令中,错误的是(64)。A.SELECT * FROM 学生 WHERE “0”$学号B.SELECT * FROM 学生 WHERE SUBSTR(学号,8);“0”C.SELECT * FROM 学生 WHERE SUBSTR(学号,8,1):“0”D.SELECT * FROM 学生 WHERE RIGHT(学号,8):“0”

显示本月月末的日期() A.select last_date(sysdate) from dual;B.select finally_day(sysdate) from dual;C.select last_day(sysdate) from dual;D.select tail_day(sysdate) from dual;

下列选项中,()是正确的表达式。 A、% String s = “hello world ” ;%  B、% = “hello world ” ;% C、% = “hello world ” %  D、% ! “hello world ” %

如何在警告框中写入 "Hello World"?()A、alertBox="Hello World" B、msgBox("Hello World") C、alert("Hello World") D、alertBox("Hello World")

写“Hello World”的正确javascript语法是()A、document.write("Hello World")B、"Hello World"C、response.write("Hello World")D、("Hello World")

查询订购单号(字符型,长度为4)尾字符是1的错误命令是()。A、SELECT*FROM订单WHERE SUBSTR(订购单号,4)=,,1”B、SELECT*FROM订单WHERE SUBSTR(订购单号,4,1卜,,1”C、SELECT*FROM订单WHERE”1”$订购单号D、SELECT*FROM订单WHERE RIGHT(订购单号,1)="1”

显示本月月末的日期()A、select last_date(sysdate) from dual;B、select finally_day(sysdate) from dual;C、select last_day(sysdate) from dual;D、select tail_day(sysdate) from dual;

Which three SELECT statements displays 2000 in the format “$2,000.00”?()A、SELECT TO CNAR(2000, ‘$#,###.##’) FROM dual;B、SELECT TO CNAR(2000, ‘$0,000.00’) FROM dual;C、SELECT TO CNAR(2000, ‘$9,999.00’) FROM dual;D、SELECT TO CNAR(2000, ‘$9,999.99’) FROM dual;E、SELECT TO CNAR(2000, ‘$2,000.00’) FROM dual;F、SELECT TO CNAR(2000, ‘$N,NNN.NN’) FROM dual;

Which SELECT statement should you use to extract the year from the system date and display it in the format "1998"?()A、SELECT TO_CHAR(SYSDATE,'yyyy') FROM dual;B、SELECT TO_DATE(SYSDATE,'yyyy') FROM dual;C、SELECT DECODE(SUBSTR(SYSDATE, 8), 'YYYY') FROM dual;D、SELECT DECODE(SUBSTR(SYSDATE, 8), 'year') FROM dual;E、SELECT TO_CHAR(SUBSTR(SYSDATE, 8,2),'yyyy') FROM dual;

Which three SELECT statements display 2000 in the format "$2,000.00"? ()A、SELECT TO_CHAR(2000, '$#,###.##') FROM dual;B、SELECT TO_CHAR(2000, '$0,000.00') FROM dual;C、SELECT TO_CHAR(2000, '$9,999.00') FROM dual;D、SELECT TO_CHAR(2000, '$9,999.99') FROM dual;E、SELECT TO_CHAR(2000, '$2,000.00') FROM dual;F、SELECT TO_CHAR(2000, '$N,NNN.NN') FROM dual;

如何显示今天是星期几(周一到周日,分别用1~7表示)()A、select to_char(sysdate,'D') from dual;B、select to_char(sysdate,'W') from dual;C、select to_char(sysdate,'D')-1 from dual;D、select to_char(sysdate-1,'D') from dual;E、select to_char(sysdate-1,'W') from dual;

The EMPLOYEES table contains these columns: EMPLOYEE_ID NUMBER(4) ENAME VARCHAR2 (25) JOB_ID VARCHAR2(10) Which SQL statement will return the ENAME, length of the ENAME, and the numeric position of the letter "a" in the ENAME column, for those employees whose ENAME ends with a the letter "n"?()A、SELECT ENAME, LENGTH(ENAME), INSTR(ENAME, 'a') FROM EMPLOYEES WHERE SUBSTR (ENAME, -1,1) = 'n';B、SELECT ENAME, LENGTH(ENAME), INSTR(ENAME, ,-1,1) FROM EMPLOYEES WHERE SUBSTR (ENAME, -1,1) = 'n';C、SELECT ENAME, LENGTH(ENAME), SUBSTR(ENAME, -1,1) FROM EMPLOYEES WHERE INSTR (ENAME, 1,1) = 'n';D、SELECT ENAME, LENGTH(ENAME), SUBSTR(ENAME, -1,1) FROM EMPLOYEES WHERE INSTR (ENAME, -1,1) = 'n';

查询出当前的数据库系统时间,精确到秒()A、select to_date(sysdate,'YYYY-MM-DD HH24:MI:SS') from dual;B、select to_char(sysdate,'YYYY-MM-DD HH24:MI:SS') from dual;C、select date(sysdate,'YYYY-MM-DD HH24:MI:SS') from dual;D、select chr(sysdate,'YYYY-MM-DD HH24:MI:SS') from dual;

You would like to display the system date in the format "Monday, 01 June, 2001".Which SELECT statement should you use?()A、SELECT TO_DATE(SYSDATE, 'FMDAY, DD Month, YYYY') FROM dual;B、SELECT TO_CHAR(SYSDATE, 'FMDD, DY Month, 'YYYY') FROM dual;C、SELECT TO_CHAR(SYSDATE, 'FMDay, DD Month, YYYY') FROM dual;D、SELECT TO_CHAR(SYSDATE, 'FMDY, DDD Month, YYYY') FROM dual;E、SELECT TO_DATE(SYSDATE, 'FMDY, DDD Month, YYYY') FROM dual;

Which SELECT statement will the result ‘ello World’ from the string ‘Hello World’?()A、SELECT SUBSTR( ‘Hello World’,1) FROM dual;B、SELECT INITCAP(TRIM (‘Hello World’, 1,1)) FROM dual;C、SELECT LOWER(SUBSTR(‘Hello World’, 1, 1) FROM dual;D、SELECT LOWER(SUBSTR(‘Hello World’, 2, 1) FROM dual;E、SELECT LOWER(TRIM (‘H’ FROM ‘Hello World’)) FROM dual;

单选题如何在警告框中写入 "Hello World"?()AalertBox=Hello World BmsgBox(Hello World) Calert(Hello World) DalertBox(Hello World)

单选题与“SELECT DISTINCT产品号FROM产品WHERE单价=ALL(SELECT单价FROM产品WHERE SUBSTR(产品号1,1)=2)”等价的SQL命令是(  )。ASELECT DISTINCT产品号FROM产品WHERE单价=(SELECT MAX(单价)FROM产品WHERE SUBSTR(产品号1,1)=2)BSELECT DISTINCT产品号FROM产品WHERE单价=(SELECT MIN(单价)FROM产品WHERE SUBSTR(产品号1,1)=2)CSELECT DISTINCT产品号FROM产品WHERE单价=ANY(SELECT单价FROM产品WHERE SUBSTR(产品号1,1)=2)DSELECT DISTINCT产品号FROM产品WHERE单价=SOME(SELECT单价FROM产品WHERE SUBSTR(产品号1,1)=2)

单选题与“SELECT DISTINCT歌手号FROM歌手WHERE最后得分>=ALL(SELECT最后得分FROM歌手WHERE SUBSTR(歌手号1,1)=″2″)”等价的SQL语句是(  )。ASELECT DISTINCT歌手号FROM歌手WHERE最后得分>=(SELECT MAX(最后得分)FROM歌手WHERE SUBSTR(歌手号1,1)=″2″)BSELECT DISTINCT歌手号FROM歌手WHERE最后得分>=(SELECT MIN(最后得分)FROM歌手WHERE SUBSTR(歌手号1,1)=″2″)CSELECT DISTINCT歌手号FROM歌手WHERE最后得分>=ANY(SELECT最后得分FROM歌手WHERE SUBSTR(歌手号1,1)=″2″)DSELECT DISTINCT歌手号FROM歌手WHERE最后得分>=SOME(SELECT最后得分FROM歌手WHERE SUBSTR(歌手号,1,1)=″2″)

单选题Which SELECT statement should you use to extract the year from the system date and display it in the format "1998"?()ASELECT TO_CHAR(SYSDATE,'yyyy') FROM dual;BSELECT TO_DATE(SYSDATE,'yyyy') FROM dual;CSELECT DECODE(SUBSTR(SYSDATE, 8), 'YYYY') FROM dual;DSELECT DECODE(SUBSTR(SYSDATE, 8), 'year') FROM dual;ESELECT TO_CHAR(SUBSTR(SYSDATE, 8,2),'yyyy') FROM dual;

单选题下列选项中,()是正确的表达式。A% String s = “hello world ” ;%  B% = “hello world ” ;% C% = “hello world ” %  D% ! “hello world ” %