下列程序段的执行结果为a=1b=0Select Case a Case 1 Select Case b Case 0 Print"**0**" Case 1 Print"**1**" End SelectCase 2 Print"**2**"End Select A.* * 0 * * B.* * 1 * * C.* * 2 * * D.0
下列程序段的执行结果为a=1b=0Select Case a Case 1 Select Case b Case 0 Print"**0**" Case 1 Print"**1**" End SelectCase 2 Print"**2**"End Select A.* * 0 * * B.* * 1 * * C.* * 2 * * D.0
select (null or null),(null or 1),(null || 0),(-8 or 0);
select (null or null),(null or 1),(null || 0),(-8 or 0);
以下程序的输出结果是: declare var int; case var when 0 then select 'var is 0'; when 1 then select 'var is 1'; else select 'var is not 0 or 1'; end case; A: 不输出任何内容 B: 报错 C: var is 0 D: var is not 0 or 1
以下程序的输出结果是: declare var int; case var when 0 then select 'var is 0'; when 1 then select 'var is 1'; else select 'var is not 0 or 1'; end case; A: 不输出任何内容 B: 报错 C: var is 0 D: var is not 0 or 1
查询学号(字符型,长度为8)尾字符是“0”的命令中,错误的是________。 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”
查询学号(字符型,长度为8)尾字符是“0”的命令中,错误的是________。 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”
查找yuangong表中所有电话号码(列名:telephone)的第一位为8或6,第三位为0的电话号码() A: SELECT telephone FROM yuangong WHERE telephone LIKE’[8,6]%0*’ B: SELECT telephone FROM yuangong WHERE telephone LIKE’(8,6)*0%’ C: SELECT telephone FROM yuangong WHERE telephone LIKE’[86]_0%’ D: SELECT telephone FROM yuangong WHERE telephone LIKE’[86]_0*&rsquo
查找yuangong表中所有电话号码(列名:telephone)的第一位为8或6,第三位为0的电话号码() A: SELECT telephone FROM yuangong WHERE telephone LIKE’[8,6]%0*’ B: SELECT telephone FROM yuangong WHERE telephone LIKE’(8,6)*0%’ C: SELECT telephone FROM yuangong WHERE telephone LIKE’[86]_0%’ D: SELECT telephone FROM yuangong WHERE telephone LIKE’[86]_0*&rsquo
执行SELECT 0 选择工作区的结果是().
执行SELECT 0 选择工作区的结果是().
查找student表中所有电话号码(列名:telephone)的第一位为8或6,第三位为0的电话号码() A: SELECT telephone FROM student tWHERE telephone LIKE'[8,6]%0*' B: SELECT telephone FROM student WHERE telephone LIKE'(8,6)*0%' C: SELECTtelephoneFROMstudenttWHEREtelephoneLIKE'[8,6]_0%' D: SELECT telephone FROM student WHERE telephone LIKE'[8,6]_0*'
查找student表中所有电话号码(列名:telephone)的第一位为8或6,第三位为0的电话号码() A: SELECT telephone FROM student tWHERE telephone LIKE'[8,6]%0*' B: SELECT telephone FROM student WHERE telephone LIKE'(8,6)*0%' C: SELECTtelephoneFROMstudenttWHEREtelephoneLIKE'[8,6]_0%' D: SELECT telephone FROM student WHERE telephone LIKE'[8,6]_0*'
如果QUANTITY的值为空值(null),在执行以下哪个语句时会显示一个0 A: SELECT id_number, 100/quantity B: FROM C: inventory; D: SELECT id_number, NVL(100/quantity, 0) E: FROM F: inventory; G: SELECT id_number, NULL(100/quantity, 0) H: FROM I: inventory; J: SELECT id_number, TO_CHAR(100/quantity, 0) K: FROM L: inventory; M: SELECT id_number, NVL(100/quantity, ’999.00’) N: FROM O: inventory;
如果QUANTITY的值为空值(null),在执行以下哪个语句时会显示一个0 A: SELECT id_number, 100/quantity B: FROM C: inventory; D: SELECT id_number, NVL(100/quantity, 0) E: FROM F: inventory; G: SELECT id_number, NULL(100/quantity, 0) H: FROM I: inventory; J: SELECT id_number, TO_CHAR(100/quantity, 0) K: FROM L: inventory; M: SELECT id_number, NVL(100/quantity, ’999.00’) N: FROM O: inventory;
下面控制事务自动提交的命令,正确的是( )。 A: SET AUTOCOMMIT=0;或SET @@AUTOCOMMIT=0; B: SET AUTOCOMMIT=1;或SET @@AUTOCOMMIT=1; C: SELECT @@autocommit; D: SELECT @@tx_isolation;(5.7)SELECT @@transaction_isolation(8.0)
下面控制事务自动提交的命令,正确的是( )。 A: SET AUTOCOMMIT=0;或SET @@AUTOCOMMIT=0; B: SET AUTOCOMMIT=1;或SET @@AUTOCOMMIT=1; C: SELECT @@autocommit; D: SELECT @@tx_isolation;(5.7)SELECT @@transaction_isolation(8.0)
语句 select 16%4, 的执行结果是: 0 吗?
语句 select 16%4, 的执行结果是: 0 吗?