问题 填空题

当前目录下有“选课表”文件,要求查找既选修了“计算机”,又选修了“日语”的学生号,则语句为:
SELECT A.学号 FROM 选课表 A,选课表 B;
WHERE A.学号=B.学号 AND;
A.课程名称="计算机" AND ______

答案

参考答案:B.课程名称="日语\

解析: 一般的查询中,别名并不是必须的,但是在自连接查询中,别名是必不可少的。
SQL不仅可以对多个关系实行连接操作,也可以将同一关系与其自身进行连接,这种连接称为自连接。在可以进行这种自连接操作的关系上,实际存在着一种特殊的递归联系,即关系中的一些元组,根据出自同一值域的两个不同的属性,可以与另外一些元组有一种对应关系(一对多的联系)。

单项选择题

Most plants can make their own food from sunlight, (1) some have discovered that stealing is an easier way to live. Thousands of plant species get by (2) photosynthesizing, and over 400 of these species seem to live by pilfering sugars from an underground (3) of fungi(真菌). But in (4) a handful of these plants has this modus operandi been traced to a relatively obscure fungus. To find out how (5) are (6) , mycologist Martin Bidartondo of the University of California at Berkeley and his team looked in their roots. What they found were (7) of a common type of fungus, so (8) that it is found in nearly 70 percent of all plants. The presence of this common fungus in these plants not only (9) at how they survive, says Bidartondo, but also suggests that many ordinary plants might prosper from a little looting, too.

Plants have (10) relations to get what they need to survive. Normal, (11) plants can make their own carbohydrates through photosynthesis, but they still need minerals. Most plants have (12) a symbiotic relationship with a (13) network of what are called my corrhizal fungi, which lies beneath the forest (14) . The fungi help green plants absorb minerals through their roots, and (15) , the plants normally (16) the fungi with sugars, or carbon with a number of plants sharing the same fungal web, it was perhaps (17) that a few cheaters—dubbed epiparasites—would evolve to beat the system. (18) , these plants reversed the flow of carbon, (19) it into their roots from the fungi (20) releasing it as "payment.\

18()

A. in time

B. overtime

C. at times

D. behind time

多项选择题