问题
单项选择题
如果有两个事务,同时对数据库中同一数据进行操作,不会引起冲突的操作是
A.其中有一个是DELETE
B.一个是SELECT,另一个是UPDATE
C.两个都是SELECT
D.两个都是UPDATE
答案
参考答案:C
解析: 如果有两个事务,同时对数据库中同一数据进行操作,除SELECT外,其余SQL语句不能同时使用的,否则会引起冲突。
如果有两个事务,同时对数据库中同一数据进行操作,不会引起冲突的操作是
A.其中有一个是DELETE
B.一个是SELECT,另一个是UPDATE
C.两个都是SELECT
D.两个都是UPDATE
参考答案:C
解析: 如果有两个事务,同时对数据库中同一数据进行操作,除SELECT外,其余SQL语句不能同时使用的,否则会引起冲突。
根据短文内容从方框中选择正确词的正确形式填空,每个词只用一次。将答案写在答题卡相应的位置上。(共10个小题,每个小题1分,满分10分)
Not everyone can swim with fish in the ocean. But they can enjoy underwater life in another way-by visiting an aquarium. There is a very large public aquarium in Atlanta, Georgia. The Georgia Aquarium says it is 小题1:in the world. It has more than one hundred thousand sea animals in thirty million liters of 小题2:. These include two whale sharks ---the 小题3: largest fish. And everyone seems to enjoy 小题4:huge public aquariums. They have opened around the world. Visiting an aquarium is a good way for children 小题5:about sea animals. They might even want to start an aquarium at home and join 小题6:of people keeping fish as pets around the world. We do not really know when people began keeping fish as pets. But people have been interested in fish 小题7: a long time ago. Some say the Chinese kept and studied carp(鲤鱼) and goldfish more than one thousand years ago. The 小题8:Romans kept eels(鳝鱼) as pets . And the Greek philosopher Aristotle(亚里士多德) might be the 小题9:to study sea life, including sharks and dolphins. Some people say that keeping fish at home in small water tanks called aquarium is very 小题10:today. |