一起答
单选

某数据库中有员工关系E、产品关系P、仓库关系W和库存关系I,其中:    员工关系E(employeeID,name,department)中的属性为:员工编号,姓名,部门;    产品关系P(productID,name,model,size,color)中的属性为:产品编号,产品名称,型号,尺寸,颜色;    仓库关系W(warehouseID,name,address,employeeID)中的属性为:仓库编号,仓库名称,地址,负责人编号:    库存关系I(warehouseID,productID,quantity)中的属性为仓库编号,产品编号和产品数量。    若需得到每种产品的名称和该产品的总库存量,则对应的查询语句为:    SELELCT name SUM(quantity)FROM P, I    WHERE(62):

  • A.P.productID=I.productID
  • B.P.productID=1.productID ORDER BY name
  • C.P.productID=1.productlD GROUP BY name
  • D.P.productID=1.productlD GROUP BY name, quantity
参考答案
查看试卷详情
相关试题
  1. (75)is a sequence of letters and digits, the first character mustbe a letter.

    • A.An identifier
    • B.A string
    • C.An array
    • D.program
  2. In the WAN, when a point-to-point subnet is used, an important design issue is the roucer interconnection(74).

    • A.topology
    • B.computer
    • C.service
    • D.lines
  3. Which of the following statements describe(s)the properties of a purely segmented memory system?(73).

    Ⅰ. It suffers from internal fragmentation

    Ⅱ. It permits implementation of virtual memory

    Ⅲ. It divides memory into units of equal size

    • A.Ⅰ only
    • B.Ⅲ only
    • C.Ⅱ only
    • D.Ⅰand Ⅲ
  4. Which of the following methods is used to increase the number of processes sharing the CPU?(72).

    • A.Interrupt
    • B.Scheduler
    • C.Working Set
    • D.Swapping
  5. Give the logical variables X=Y=1, The value of X V Y( logical addition)is(66).

    • A.8
    • B.6
    • C.4
    • D.1
  6. 在控制面板的“添加/删除程序”对话框中选择“添加/删除Windows组件”,然后进入“应用程序服务器”选项,在(70)组件复选框中勾选“文件传输协议(FTP)服务”选项,即可在Windows 2003中安装FTP服务。

    • A.ASP.NET
    • B.Internet信息服务(IIS)
    • C.应用程序服务器控制台
    • D.启用网络服务
  7. 在OSI参考模型中,网络层处理的数据单元是(67)。

    • A.比特
    • B.帧
    • C.分组
    • D.报文
  8. 某段XML代码如下所示。    <?xml version="1.0"  encoding="GB2312"  standalone="yes">    <state coursename="成绩">        <courseid id="090"></courseid>    </state>    其中,根元素名为(65)。

    • A.xml
    • B.state
    • C.coursename
    • D.courseid
  9. 设有3条路由:172.30.129.0/24、172.30.130.0/24和172.30.132.0/24。如果进行路由汇聚,能覆盖这3条路由的地址是(66)。

    • A.172.30.128.0/21
    • B.172.30.128.0/22
    • C.172.30.130.0/22
    • D.172.30.132.0/23
  10. 某企业在计划期内要同时生产X、Y两种产品。已知生产单位产品所需的设备台及A、B两种原材料的消耗如表2-3所示。该企业每生产一件产品X可获利2000元,每生产一件产品Y可获利3000千元。合理安排计划能使该企业生产获取的最大利润是(63)元。

    • A.12000
    • B.13000
    • C.14000
    • D.16000