问题 单项选择题

为“职工表”的职工号字段添加有效性规则:职工号的最左边三位字符是000,正确的SQL语句是______。

A.CHANGE TABLE 职工表ALTER 职工号 SET CHECK LEFT(职工号,3)="000"

B.ALTER TABLE 职工表 ALTER 职工号 SET CHECK LEFT(职工号,3)="000"

C.ALTER TABLE 职工表 ALTER 职工号 CHECK LEFT(职工号,3)="000"

D.CHANG ETABLE 职工表 ALTER 职工号 SET CHECK OCCURS(职工号,3)="000"

答案

参考答案:B

解析: 用于定义、修改和删除有效性规则的格式为:ALTER TABLE表名ALTER列名[SET CHECK表达式][SET DEFAULT][DROP DEFAULT][DROP CHECK)。

填空题

Marks & Spencer has a very good reputation for job security and looking after its staff, with things like good perks, (1) , that sort of thing. Do those things actually (2)
I think it is, it is very important. When people have been working (3) , and they may have been in from seven or eight o’clock in the morning, they can come off the sales floor and can go to (4) and obviously they can have tea, coffee, or (5) , and can then buy at very reduced rates (6) , if they want one, or a roll and cheese, in a pleasant environment, (7) , food of the highest quality, there’re areas where they can (8) , or play pool or something, yeah, that is very important because they need (9) . At busy times, they need to get away from it, they need to be able to relax. In terms of all the (10) we’ve got, that is very important, when people know that they will be having medicals, and (11) is another thing, obviously there’s (12) that they will buy which they will be able to buy (13) . For Christmas bonus, we give all our general staff (14) which is guaranteed, and the (15) of that, actually, at the busiest time of the year when they’re (16) and working hard, is fantastic and to see their faces as you (17) with 10% of their salary in it. I believe the environment that you work in, (18) that you work with, the way you are treated, (19) , and the fact that your views are listened to, and you feel you are consulted, that makes people (20) and makes them get up and come to work in the morning.

单项选择题 A1型题