单选

● 某超市的商品(商品号,商品名称,生产商,单价)和仓库(仓库号,地址,电话,商品号,库存量)两个基本关系如表1和表2所示。

  • a. 仓库关系的主键是 (37) ,该关系没有达到第三范式的原因是 (38) ;
  • b. 查询联想生产的激光打印机的总库存量的SQL语句如下:    SELECT  商品名称,  (39)    
  • FROM 商品,仓库    WHERE    (40)   AND    (41)  ;
  • c. 若仓库关系的地址不能为空,请将下述仓库关系SQL语句的空缺部分补充完整
  • CREATE TABLE 仓库(仓库号CHAR(2),    地址 CHAR(20)    (42)  ,    电话 CHAR(20),    商品号 CHAR(5),    库存量NUMERIC(5),    &nb
  • A. 仓库号             
  • B. 商品号,地址  
  • C. 仓库号,地址              
  • D. 仓库号,商品号    (38)
  • A. 没有消除非主属性对码的部分函数依赖,如:仓库号→电话
  • B. 没有消除非主属性对码的部分函数依赖,如:地址→电话
  • C. 只消除了非主属性对码的部分函数依赖,而未消除传递函数依赖
  • D. 只消除了非主属性对码的传递函数依赖,而未消除部分函数依赖    (39)
  • A. NUMBER(库存量)       
  • B. SUM(库存量)  
  • C. COUNT(库存量)       
  • D. TOTAL(库存量)    (40)
  • A. 生产商=联想           
  • B. 仓库. 生产商=联想
  • C. 生产商='联想'          
  • D. 仓库. 生产商='联想'    (41)
  • A. 商品名称=激光打印机 AND 商品.商品号=仓库.商品号
  • B. 商品名称='激光打印机' AND 商品.商品号=仓库.商品号
  • C. 商品名称=激光打印机 OR 商品.商品号=仓库.商品号
  • D. 商品名称='激光打印机' OR 商品.商品号=仓库.商品号    (42)
  • A. NOT NULL           
  • B. UNIQUE
  • C. NOT NULL UNIQUE       
  • D. PRIMARY KEY    (43)
  • A. PRIMARY KEY(仓库号)
  • B. PRIMARY KEY(仓库号,商品号)
  • C. PRIMARY KEY(商品号,地址)
  • D. PRIMARY KEY(仓库号,地址)    (44)
  • A. FOREIGN KEY(仓库号)REFERENCES 仓库号
  • B. FOREIGN KEY(仓库号)REFERENCES 仓库(仓库号)
  • C. FOREIGN KEY(商品号)REFERENCES 仓库(商品号)
  • D. FOREIGN KEY(商品号)REFERENCES 商品(商品号)
参考答案
您可能感兴趣的试题

● HTML中标记用于定义表格的 (69) 。

(69)

  • A.行             
  • B.列              
  • C.单元格            
  • D.标题

 ● For nearly ten years, the Unified Modeling Language (UML) has been the industry standard for visualizing, specifying, constructing, and documenting the   (71)   of a software-intensive system. As the  (72)   standard modeling language, the UML facilitates communication and reduces confusion among project  (73) . The recent standardization of UML 2.0 has further extended the language's scope and viability. Its inherent expressiveness allows users to  (74)   everything from enterprise information systems and distributed Web-based applications to real-time embedded systems.  The UML is not limited to modeling software. In fact, it is expressive enough to model (75) systems, such as workflow in the legal system, the structure and behavior. of a patient healthcare system, software engineering in aircraft combat systems, and the design of hardware. To understand the UML, you need to form. a conceptual model of the language, and this requires learning three major elements: the UML's basic building blocks, the rules that dictate how those building blocks may be put together, and some common mechanisms that apply throughout the UML.

(71)

  • A. classes       
  • B. components 
  • C. sequences         
  • D. artifacts    (72)
  • A. real           
  • B. legal     
  • C. de facto         
  • D. illegal    (73)
  • A. investors            
  • B. developers   

● 在Windows系统中设置默认路由的作用是 (67) 。

(67)

  • A.当主机接收到一个访问请求时首先选择的路由   
  • B.当没有其他路由可选时最后选择的路由 
  • C.访问本地主机的路由
  • D.必须选择的路由

● 要实现记录的物理顺序与索引项次序一致,应选择的索引类型是 (61) 。

(61)

  • A. HASH 索引   
  • B. 聚簇索引   
  • C. B+树索引     
  • D. 单一索引

● 在C/S 体系结构中,客户端执行的操作是 (55) 。

(55)

  • A. 触发器     
  • B. 嵌入式SQL 
  • C. 存储过程   
  • D. 扩展存储过程
¥

订单号:

遇到问题请联系在线客服

订单号:

遇到问题请联系在线客服