下面语句中,表示过虑条件是vend_id=1002或vend_id=1003的是( )
A.select * from products where vend_id=1002 or vend_id=1003
B.select * from products where vend_id in (1002,1003);
C.select * from products where vend_id not in (1004,1005);
D.select * from products where vend_id=1002 and vend_id=1003
第1题:
已知:数组:int[]a1={2,3,5,7,11,13} int[]a2={1001,1002,1003,1004,1005,1006,1007}在语句System.arraycopy(a1,2,a2,3,4)执行后,数组int[]luckNumbers的值是 ( )
A.{1001,1002,1003,2,3,4,1007}
B.{2,3,1003,1004,2,3,1007}
C.{1001,1002,1003,5,7,11,13}
D.5,7,11,13,1005,1006,1007
第2题:
12、下面代码的输出结果是()。 no = [1001, 1002, 2001, 1003] course = ["Math", "English", "Python", "Physics"] data = dict(zip(no, course)) result = data.get(1003) print(result)
A.Math
B.English
C.Python
D.Physics
第3题:
下面语句中,表示过虑条件是vend_id=1002或vend_id=1003的是()
A.select * from products where vend_id=1002 or vend_id=1003
B.select * from products where vend_id in (1002,1003);
C.select * from products where vend_id not in (1004,1005);
D.select * from products where vend_id=1002 and vend_id=1003
第4题:
下面语句中能够查询出部门编号是1001、1002、1003的部门员工信息的是 。()
A.select * from department where dep_num in (1001,1002,1003);
B.select * from department where dep_num=1001 or dep_num=1002 or dep_num=1003;
C.select * from department where dep_num=1001 and dep_num=1002 and dep_num=1003;
D.select * from department where dep_num between 1001 and 1003;
第5题:
SELECT语句中必选的子句是()
A.SELECT…FROM
B.SELECT…FROM…WHERE
C.SELECT…FROM…ORDER BY
D.SELECT