问题
单项选择题
设有关系R(A,B,C)和S(A,D,E,F),且R.A和S.A取自同一个域,与下面SQL语句: SELECT R.A,B,E,F FROM R,S WHERE R.A=S.A AND B=3等价的关系代数表达式是:
A. 只有Ⅰ
B. 只有Ⅱ
C. Ⅱ和Ⅲ
D. 都等价
答案
参考答案:D
解析:由投影和连接的关系运算规则可以得出答案。
设有关系R(A,B,C)和S(A,D,E,F),且R.A和S.A取自同一个域,与下面SQL语句: SELECT R.A,B,E,F FROM R,S WHERE R.A=S.A AND B=3等价的关系代数表达式是:
A. 只有Ⅰ
B. 只有Ⅱ
C. Ⅱ和Ⅲ
D. 都等价
参考答案:D
解析:由投影和连接的关系运算规则可以得出答案。
完形填空。 | ||||
I like movies best. Lastweek, I saw a movie calledRobot. It 1 us a storyabout the future with robots. It is the year of 2035and people can see robotseverywhere. Robots can helppeople do a lot of things, like looking 2 theold people or babies, washing, cooking,cleaning or taking dogs for a 3 . Robots doeverything people ask them to do. But apoliceman 4 Spooner doesn't like robots.Because he doesn't think that people can livewell 5 robots. One day a scientist killshimself. He leaves a robot. Some time laterSpooner finds 6 is wrong with the robots inthe world. A 7 robots have their ownthoughts and want to control the people. If therobots succeed, it will be very 8 forpeople. Susan is another scientist working onrobots. Finally, Susan and Spooner decide 9 work together to fight against theserobots. At last, they succeed. People control therobots again. I think the movie is veryinteresting. 10 you have interest in it, whynot go and see it? | ||||
( )1. A. tells ( )2. A. at ( )3. A. wash ( )4. A. name ( )5. A. and ( )6. A. nothing ( )7. A. little ( )8. A. dangerous ( )9. A. on ( )10. A. When | B. says B. after B. rest B. Call B. with B. anything B. lot B. lucky B. with B. If | C. speaks C. for C. walk C. calling C. without C. something C. few C. danger C. to C. Because | D. talks D. up D. meal D. called D. or D. everything D. lots D. exciting D. for D. As |