下面语句中,表示过虑条件是vend_id=1002或vend_id=1003的是( )A.select * from products where vend_id=1002 or vend_id=1003B.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=10

题目

下面语句中,表示过虑条件是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


相似考题
参考答案和解析
正确答案:B,A 
更多“下面语句中,表示过虑条件是vend_id=1002或vend_id=1003的是( ) A.select * from produc ”相关问题
  • 第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


    正确答案:C
    解析:该题考查的是数组的拷贝。它所表示的意思是把第一个数组的最后四个元素拷贝给第二个数组。拷贝从源数组的位置2开始,共拷贝4个元素,目标数组的开始位置为3。所以拷贝完后本题的答案是选项C。

  • 第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


    A

  • 第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


    B,A?

  • 第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;


    select * from department where dep_num in (1001,1002,1003);;select * from department where dep_num=1001 or dep_num=1002 or dep_num=1003;;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


    SELECT…FROM