问题 单项选择题

SQL实现分组查询的短语是______。

A.ORDERBY

B.GROUPBY

C.HAVING

D.ASC

答案

参考答案:B

解析:[知识点] 关系数据库标准语言SQL/SQL的数据查询功能[评析] 4个选项中所列出的短语都是SELECT语句的短语,其中C选项HAVING不能脱离GROUPBY短语而独立存在,D选项ASC不能脱离ORDERBY短语而独立存在。实现分组查询的短语是GROUPBY。A选项ORDER BY短语是对最终的查询结果进行排序;C选项HAVING短语是用于限定分组的条件;D选项ASC是限定按指定属性值的升序进行排序。若需要HAVING短语,HAVING短语必须出现在GROUP BY短语之后,若需要ASC(DESC.降序)短语,则必须出现在ORDERBY短语之后,通常GROUPBY短语出现在ORDER BY短语之前。

单项选择题 A3/A4型题
完形填空
完形填空(共20小题:每小题1. 5分,满分30分)
In a land far away, once upon a time there was great poverty (贫困),and only the rich could manage without great _26_. Three of those rich men and their servants were_27_together on a road when they came to a very_28_village.
The first could not stand seeing the poverty, _29  he took all the gold and jewels from his wagons (四轮载重马车) and shared _30 out among the villagers. He wished them all the best of luck, and he left.
The second rich man ,seeing the _31  situation, stopped for a short time and gave _32  all his food and drink, since he _33  see that money would be of little _34  to them. He made sure that they each _35   their fair share and would have enough food to _36   for some time.  Then, he left.
The third rich man, on seeing such poverty, _37   and went straight through the _38  without stopping. The two other rich men saw this from a distance and commented(评论) with each other_39   the third rich man lacked sympathy(同情). It was _40   that they themselves had been there to offer help.
However, three days later,  they   41 the third rich man, who was coming in the opposite direction. He was  42  travelling quickly, but his wagons,  43  the gold and valuables they had been  44  ,were now full of farming tools and bags of  45  .He was rushing back to help them out of poverty.
小题1:
A.lossB.expectationsC.successD.problems
小题2:
A.standingB.travellingC.gatheringD.running
小题3:
A.farawayB.poorC.differentD.ancient
小题4:
A.unlessB.becauseC.soD.if
小题5:
A.themB.anythingC.nothingD.those
小题6:
A.curiousB.worryingC.dangerousD.puzzling
小题7:
A.the villagersB.his servantsC.the othersD.the rest
小题8:
A.couldB.mightC.shouldD.must
小题9:
A.interestB.concernC.useD.attraction
小题10:
A.returnedB.gainedC.offeredD.received
小题11:
A.remainB.lastC.supplyD.share
小题12:
A.turned backB.set outC.showed offD.speeded up
小题13:
A.villageB.landC.fieldD.road
小题14:
A.whetherB.howC.whereD.when
小题15:
A.goodB.certainC.trueD.strange
小题16:
A.welcomedB.metC.acceptedD.persuaded
小题17:
A.stillB.alreadyC.alwaysD.indeed
小题18:
A.exceptB.instead ofC.apart fromD.along with
小题19:
A.loadingB.treasuringC.carryingD.earning
小题20:
A.foodB.jewelsC.moneyD.seeds