问题 单项选择题

把关系看作二维表,则下列说法中错误的是 (17)

A.表中允许出现相同的行

B.列的次序可以交换

C.行的次序可以交换

D.表中不允许出现相同的行

答案

参考答案:A

解析:

[分析]: 如果把关系看作二维表,那么表的每行对应一个元组,表的每列对应一个域。由于域可以相同,为了加以区分,必须为每列起一个名字,称为属性。
若关系中的某一属性组的值能唯一地标识一个元组,则称该属性组为候选码(候选键)。若一个关系有多个候选码,则选定其中一个为主码(主键)。主码的诸属性称为主属性。不包含在任何候选码中的属性称为非码属性(非主属性)。在最简单的情况下,候选码只包含一个属性。在最极端的情况下,关系模式的所有属性组是这个关系模式的候选码,称为全码。
基本关系具有以下六条基本性质。
(1)列是同质的,即每一列中的分量是同一类型的数据,来自同一个域。
(2)不同的列可出自同一个域,称其中的每一列为一个属性,不同的属性要给予不同的属性名。
(3)列的顺序无所谓,即列的次序可以任意交换。
(4)任意两个元组不能完全相同。但在大多数实际的关系数据库产品中,如Oracle等,如果用户没有定义有关的约束条件,它们都允许关系表中存在两个完全相同的元组。
(5)行的顺序无所谓,即行的次序可以任意交换。
(6)分量必须取原子值,即每一个分量都必须是不可分的数据项。

阅读理解
一、阅读短文,选择单词表中正确的词语填空 。
      One day, long ago, a little       1      was born. His      2       was Jesus. Jesus was a       3       baby. Many 
     4      say he was the son of God.          
      When he was born, a new       5       shone in the sky. Three wise men       6       the star. They followed 
the star to Jesus. They brought the baby special       7      . They knew he was a special baby.
      Jesus's birthday is       8       Day. We       9       gifts to our friends and family at Christmas, because the 
three wise men gave gifts to Jesus. We put stars on our Christmas        10     , because of the star that shone in 
the sky when Jesus was born.
Word List:
give   
saw
Christmas
baby   
special  
name
trees  
gifts
star
people
二、根据上文,回答问题。 

1. Who is Jesus?   
                                                                                   
2. Why do we give gifts at Christmas?   
                                                                                   
3. Why do we put the star at the top of the tree?   
                                                                                   
4. When is Jesus's birthday?
                                                                                   

多项选择题