问题 填空题

在关系模型中,若属性A是关系R的主码,则在R的任何元组中,属性A的取值都不允许为空,这种约束称为______规则。

答案

参考答案:实体完整性

解析:[命题目的] 本题考查实体完整性规则的定义。
[解题要点] 实体完整性:关系中的元组在组成主键的属性上不能有空值。参照完整性:外键的值不允许参照不存在的相应表的主键的值,或者外键为空值。用户自定义完整性:由用户根据应用需要定义。

选择题
填空题



Americans have four primary avenues for making friends: at work, at school, through a hobby or a (1) such as volunteer work and discussion group, or through a family or (2) .
In American culture, a job is more than the work that one performs between the hours of 9 a.m. and (3) . Work becomes a major socializing influence. Many young mothers who (4) their jobs to care for small children remark on the loneliness of their new lifestyles because they have lost their forum for (5) .
A great number of American employers recognize business social (6) and use it to build a family atmosphere on the job so that employees will feel (7) in their work environment. Some employers arrange company get-togethers in their home or at a (8) . American companies have at least one (9) annually, usually at Christmas time. Many corporations have (10) where employees and administrators alike dress (11) to play games such as baseball and volleyball.
Top American administrators often hold social gatherings (12) . Depending upon the size of the employer’s home and the number of (13) . These social gatherings may be picnics, pool parties, or (14) . If the company is large, an employer may hold what Americans call (15) . For an open house, the employer will invite his employees to come to his home (16) between 1 p.m. on a certain day. Those invited usually stay for (17) , chatting with the other guests and their host. People come and go (18) during the designated hours, and the host keeps refreshments, usually (19) or hors d’oeuvres and beverages, available for all who come. For such social gatherings, it is considered (20) the invitation unless you have an excellent reason.