以下各题使用如下3个数据库表: 职员.dbf:职员号C(3),姓名C(6),性别C(2),组号N(1),职务C(10) 客户.dbf:客户号C(4),客户名C(36),地址C(36),所在城市C(36) 订单.dbf:订单号C(4),客户名C(4),职员号C(3),签订日期D,金额N(6.2) 有如下SQL语句: SELECT订单号,签订日期,金额 FROM 订单,职员; WHERE 订单.职员号=职员.职员号 AND 姓名="李二" 与如上语句功能相同的SQL语句是( )。
A. SELECT 订单号,签订日期,金额 FROM 订单 WHERE EXISTS;(SELECT*FROM 职员 WHERE 姓名="李二")
B. SELECT订单号,签订日期,金额 FROM 订单 WHERE EXISTS;(SELECT*FROM 职员 WHERE职员号=订单.职员号 AND 姓名="李二")
C. SELECT 订单号,签订日期,金额 FROM 订单 WHERE IN;(SELECT 职员号 FROM 职员 WHERE 姓名="李二")
D. SELECT 订单号,签订日期,金额 FROM 订单 WHERE IN;(SELECT 职员号 FROM 职员 WHERE 职员号=订单.职员号 AND 姓名="李二")
查看答案
In the United States and in many other countries around the world, there are four main ways for people to be (91) about developments in the news: newspapers, magazines, and radio or television news broadcasts. A person may use one, or all, of these (92) for information. Each source is useful in its (93) way. Newspapers and magazines can give much information about a particular event. They may (94) some history of the event, some of its (95) , some of its effects, or perhaps give an (96) or point of view on a particular development. Radio and television can help a person to be well informed about what is happening each day. It is also (97) to listen to radio or watch TV (98) do something else at the same time. Many people can listen to the news on their car radio while driving (99) . For the student of English as a foreign language, an English language newspaper may be the most helpful news source that will also (100) you practice in reading English. Most daily English language newspapers are not very hard to find. They are interesting and helpful in many (101) . In some of them, you may be able to find news about your (102) country. You will find news and information about important national and international political (103) . (104) what you are interested in, you can probably find something in the newspaper about it. A(n) (105) in the newspaper may help you solve a problem. Other stories may be about good movies, concerts, or TV shows. Usually, an English language newspaper has several (106) or parts. Each part of the newspaper (107) stories about different kinds of news. Some sections have a lot of advertisements which may be helpful if you want to save money. By reading the advertisements, you may find something you want (108) sale. Or you may find that two stories are advertising the (109) thing, but at one store the price is lower. Other sections may have (110) advertisements or have only a specific type of advertisement to interest the people.
A. on
B. in
C. of
D. off
将学生表student中的学生年龄(字段名是年龄)增加1岁,应该使用的SQL命UPDATE student______
在“成绩”表中,检索选修4门以上课程的男生的姓名和平均成绩。“成绩”表中包含学号、姓名、课程名称和成绩4个字段。请将下面的SQ[。语句补充完整。 SELECT 姓名, AVG(成绩) AS 平均成绩 FROM 成绩; WHERE 性别="男"; GROUPBY 学号; ______COUNT(*)>=4