问题 填空题

某学校电子阅览室的计算机上有一软件自动地记录用户每次上网的时间,并将信息登记在表SWJL中.SWJL表含有两个日期时间型字段,字段名分别为SWSJ和XWSJ,分别登记用户连接上网时的时间和断开下网时的时间。下列SELECT—SQL命令可以统计该计算机2010年每月上网的次数和总计时间(以小时计),且按总计时间排序输出结果: .

SELECT () AS 月份,COUNT(*) AS 上网次数, () /60 总计时间;

FROM swjl;

WHERE YEAR(swsj)=2010

GROUP BY 1;

()

答案

参考答案:month(swsj);sum(xwsj-swsj)/60;order by 3

阅读理解

阅读短文,回答问题。

(One day the Wind and the Sun met behind a hill.) 

Wind: I am stronger than you are. 

Sun: Oh, no. I am stronger than you are. 

Wind: No, you are not. Look, there's a man coming down the road. He is wear a thick coat. 

         I can make him take it off.

Sun: All right! Do it.  

(The Sun went behind a cloud and the Wind began to blow.) 

Wind: Whoo-oo. Take your coat off! Take your coat off! 

Man: Brr! It's cold. I must pull my coat tighter. 

Sun: Now, I'll do it! 

Wind: You will never do it! 

Sun: Yes, I will!  

(The Sun began to shine.)  

Sun: Please take your coat off. 

Man: What a day! What a day! Now it's so hot. I must take off my coat.

Sun: Now you see I am stronger than you are! 

(But the Wind was not there any more.)

1. Give the dialogue a best name, please. 

                                                                                                      

2. Where did the Wind and the Sun meet? 

                                                                                                      

3. What did the Wind say to the Sun? 

                                                                                                      

4. What did the man do when the Wind blew? 

                                                                                                      

5. What did the Sun do to make the man take off his coat?

                                                                                                       

6. What did the Sun say to the Wind then?

                                                                                                      

单项选择题