更多“generally speaking, how many officers are there in the deck department? ”相关问题
  • 第1题:

    Examine the structure of the EMPLOYEES and DEPARTMENTS tables: EMPLOYEESColumn name Data type RemarksEMPLOYEE_ID NUMBER NOT NULL, Primary KeyEMP_NAME VARCHAR2 (30)JOB_ID VARCHAR2 (20)SALARY NUMBERMGR_ID NUMBER References EMPLOYEE_ID COLUMNDEPARTMENT ID NUMBER Foreign key to DEPARTMENT ID column of the DEPARTMENTS tableDEPARTMENTSColumn name Data type RemarksDEPARTMENT_ID NUMBER NOT NULL, Primary Key DEPARTMENT_NAME VARCHAR2(30)MGR_ID NUMBER References MGR_ID column of the EMPLOYEES tableEvaluate this SQL statement:SELECT employee_id, e.department_id, department_name, salaryFROM employees e, departments dWHERE e. department_id = d.department_id;Which SQL statement is equivalent to the above SQL statement? ()

    A. SELECT employee_id, department_id, department_name, salary FROM employees WHERE department_id IN (SELECT department_id FROM departments);

    B. SELECT employee_id, department_id, department_name, salary FROM employees NATURAL JOIN departments;

    C. SELECT employee_id, d.department_id, department_name, salary FROM employees e JOIN departments d ON e.department _ id = d. department_id;

    D. SELECT employee_id, department_id, department_name, Salary FROM employees JOIN departments USING (e.department_id, d.department_id);


    参考答案:C

  • 第2题:

    有如下类定义: class Point{ private: static int how_many; }; ______how_many=0; 要初始化Point类的静态成员how_many,下划线处应填入的内容是

    A.int

    B.static int

    C.int Point: :

    D.static int Point


    正确答案:C
    解析:static int n;是定义静态全局变量,int point是定义类的。

  • 第3题:

    Examine the following options, Multicasting supports applications that communicate.()

    A. many - to - one

    B. one - to - one

    C. one - to - many

    D. many - to - many


    参考答案:C

  • 第4题:

    Let me show you to the(甲板)_______.

    A.bridge

    B.saloon

    C.galley

    D.deck


    正确答案:D

  • 第5题:

    有如下类定义: class Point{ private: static int how_many; }; ___________how_many=0; 要初始化Point类的静态成员how_many,下画线处应填入的内容是( )。

    A.int

    B.static int

    C.int Point::

    D.static int Point::


    正确答案:C
    本题考查静态数据成员,静态数据成员可以初始化,但只能在类体外进行初始化,其一般形式为:数据类型类名::静态数据成员名=初值。所以本题答案为C。

  • 第6题:

    Everybody on board was worried and we were curious to find out what had happened.

    A: wood
    B:meeting
    C:sign
    D:deck

    答案:D
    解析:
    本句意思:“甲板上的每个人都很担心,我们想知道发生了什么事。”on board指登上船或者飞机,on deck和它意思相同,所以D为正确答案。deck:甲板,例如:I was the only person on deck at that time of night.夜里那段时间只有我一个人在甲板上。wood:树林,木头,例如:Their dishes were made of wood.他们的盘子是木制的。meeting:会议,例如:He seemed anxious about the meeting.他似乎对这次会议忧心忡忡。sign:迹象,符合,例如:The snow showed no sign of melting.雪没有一点融化的迹象。