问题 填空题

设有图书管理数据库: 图书(总编号C(6),分类号C(8),书名C(16),作者C(6),出版单位C(20),单价N(6,2)) 读者(借书证号C(4),单位C(8),姓名C(6),性别C(2),职称C(6),地址C(20)) 借阅(借书证号C(4),总编号C(6),借书日期D(8)) 对于书管理数据库,要查询“高等教育出版社”和“电子工业出版社”的图书,并按出版单位进行降序排序,请对下面的SQL语句填空: SELECT 书名,作者,出版单位 FROM 图书管理! 图书; WHERE 出版单位=“高等教育出版社”______

答案

参考答案:OR出版单位=“电子工业出版社”ORDER BY出版单位DESC

解析: And & Or 用途: 在WHERE子句中AND和OR被用来连接两个或者更多的条件。 解释: AND在结合两个布尔表达式时,只有在两个表达式都为 TRUE时才传回TRUE。 OR在结合两个布尔表达式时,只要其中一个条件为TRUE时,OR便传回TRUE。

单项选择题
单项选择题

When something goes wrong, it can be very satisfying to say," Well, it’s so-and-so’s fault. "or "I know I’m late, but it’s not my fault ; the car broke down. "It is probably not your fault, but once you form the habit of blaming somebody or something else for a bad situation, you are a loser. You have no power and could do nothing that helps change the situation. However, you can have great power over what happens to you if you stop focusing on whom to blame and start focusing on how to remedy the situation. This is the winner’s key to success.

Winners are great at overcoming problems. For example, if you were late because your car broke down, maybe you need to have your car examined more regularly. Or, you might start to carry along with you the useful phone numbers, so you could call for help when in need. For another ex-ample, if your colleague causes you problems on the job for lack of responsibility or ability, find ways of dealing with his irresponsibility or inability rather than simply blame the person. Ask to work with a different person, or don’t rely on the person. You should accept that the person. Ask to work with a different person, or don’t rely on this person. You should accept that the person is not reliable and find creative ways to work successfully regardless of how your colleague fails to do his job well.

This is what being a winner is all about—creatively using your skills and talents so that you are successful no matter what happens. Winners don’t have fewer problems in their lives ; they have just as many difficult situations to face as anybody else. They are just better at seeing those problems as challenges and opportunities to develop their own talents. So, stop focusing on "whose fault it is". Once you are confident about your power over bad situations, problems are just stepping stones for success.

According to the passage, winners () .

A. deal with problems rather than blame others

B. meet with fewer difficulties in their lives

C. have responsible and able colleagues

D. blame themselves rather than others