How to set many-to-many relationship in Hibernate?
第1题
第2题
Question6: How can I add row numbers to my result set?
In database pubs, have a table titles , now I want the result shown as
below,each row have a row number, how can you do that?
Result:
line-no title_id
----------- --------
1 BU1032
2 BU1111
3 BU2075
4 BU7832
5 MC2222
6 MC3021
7 MC3026
8 PC1035
9 PC8888
10 PC9999
11 PS1372
12 PS2091
13 PS2106
14 PS3333
15 PS7777
16 TC3218
17 TC4203
18 TC7777
第3题
A.The server‘s SQL mode determines how the server should behave when performing data validation check and interpreting different forms of syntax
B.The server‘s SQL mode determines whether the server should be read-only or should accept commands such as INSERT and UPDATE
C.The server‘s SQL mode can be changed at the session level with a SET SESSION sql_mode="new_value" command
D.The server‘s SQL mode, when globally set on a slave server, applies to events sent from the master
第4题
B.C2 is a quality check and if not fulfilled, the idle mobile must try another cell to camp on
C.C2 and BSIC are reported to the serving cell, at least, once every five seconds to enable network controlled cell re-selection
D.At cell re-selection, the cell with the largest derived C2 is chosen to camp on
E.C2 is set to yes, if both CB and CBQ are low
第5题
The first step in creating a budget is to set your goals.What does your family needand want?You must know all that to work out the details of the budget.Never spend more than you can.Then decide which goals are the most important.
The next step is estimating(估计)family income.Before you can plan wisely,you need to know how much money you have to spend!Write down aqll themoney you expect to receive(wages,saving,interest,etc.) during the planned budget period.
After you have calculated (计算)how much money will be available,it is time to estimate expenses(开销、支出).List all of your family expenses.
If you are not satisfied with what you got for your money,look carefully at your spending.Studying your records will show where overspending has occerred.It will also point out poor buying habits.
It is also a good idea to set aside a small amount of money for emergencies.Every family has emergencies:a blown tire,a broken device,or the need for medical care.
51.According to the passage,what is the advantage of a budget?
A.It can help you set your goals clearly.
B.It can help you save a lot of money.
C.It can help you get rid of poor buying habits.
D.It can help you spend money wisely.
52.In carrying out your budget,you need ___.
A.to have the ability to control yourself
B.to ask your family members for advice
C.to cut it down as much as possible
D.to take care not to buy expensive things
53.Accordingiy,one advantage of keeping a record of your spending is that ___.
A.you will remember how much you have already spent
B.you will know if you have spent more money than you planned
C.you will be able to tell your family what should not be bought
D.you will learn how to make a better budget next time
54.The writer suggests that it is a good idea to set aside some money because ___.
A.you probably will not be able to follow your budget
B.people usually spend more than they plan to do
C.one can hardly plan everything in advance
D.others may want to borrow some money from you
55.This passage is mainly about ___.
A.the meaning of a budget B.the relation between budget and income
C.the way a budget is made D.the importance of making a budget
第6题
A.You do not enter a purchase order, but post the delivery free of charge using a specific movement type in Inventory Management
B.You enter a purchase order item, set its invoice indicator to blank and its purchase order price to zero, and then post the goods receipt
C.You create the material with the material type UNBW and then post the goods receipt without reference to the purchase order
D.You enter a purchase order with the purchase order price.Then, however, you post the receipt with reference to the purchase order using a non-valuated movement type
第7题
The audience watching the films was asked to rate the executive and the visitor in terms of status.A certain set of rules about status began to emerge from the ratings.The visitor showed the least amount of status when he stopped just inside the door to talk across the room to the seated man.He was considered to have more status when he walked halfway up to the desk,and he had the most status when he walked directly up to the desk and stood right in front Of the seated executive.
Another thing that affected the status of the visitor in the eyes of the observers was the time between knocking and entering.For the seated executive,his status was also affected by the time between hearing the knock and answering.The quicker the visitor entered the room,the more status he had.The longer the executive took to answer,the more status he had.
11.The experiment designed by the two researchers aimed at finding out().
A、how business is conducted by an executive and a visitor
B、how to tell the differences between an executive and a visitor
C、how to tell businessmen at a glance
D、how businessmen indicate status
12.Which ofthe statements can best sum up the passage().
A、The executive has a higher status than the visitor.
B、Mitary people wear uniforms but the businessmen do not
C、Astudy revealing a set of rules about the stalus of businessmen.
D、tisa good melthod to use a series of silent fim in research
13.Having entered the room, the closer the visitor approaches the executive,().
A、the less it affected his status
B、the lower his status
C、the more it affected his status
D、the higher his status
14.The longer the seated man was in answering the knock,().
A、the higher his status
B、the less it affected his status
C、the lower his status
D、the more it affected his status
15.Which statementis NOT true().
A、Soldiers wear uniforms with various symbols so that one can tell their status ata glance.
B、In the experiment, one actor played the executive while the other played the seated man
C、Business people wear similar suits.
D、The audience watching the flim rated the executve and the vsitor in tems of status
第8题
In December 1987,the Twiglet Bank was opened at an Elementary School in Miami,Florida. It is a real bank that accepts money for savings and makes loans, and it is operated by students between 10 and 12 years old. The bank is open for one hour two days a week.Students can put their money into the bank and withdraw it as they wish. Officials from a local bank helped the students start the bank. They trained twenty-three of ther to do all the different kinds of bank jobs, from counting money to guarding the bank. The students needed money to start the bank. They raised more than $ 2,000 by selling 50-dollar shares in the bank to parents, teachers, the local bank workers, and customers.
Organizing and operating the bank has taught the children a lot about the banking business. They have learned about raising and investigating money and how to use computers and other banking equipment. They have also learned how to ask for a job and to be responsible for their jobs.
1.Who operated Twiglet Bank?
A.The teenagers
B.The community
C.The government
2.Who helped these children start a bank?
A.Parents
B.Teachers
C.Bank officials
3.How did children raise money for their bank?
A.Their schools provided financial support for them
B.They found an organization to donate a set of fund
C.They sold shares in the bank to parents, teachers, etc
4. Which is NOT true for the benefits of children from operating their own bank?
A. They learned how to produce the money
B. They learned how to look for a job and do it well
C. They learned how to use computers and banking equipment
5. What is the best title for this passage?
A. A bank of Miami
B. A Student Bank
C. The Operation of American Bank
第9题
Just before dawn, there was further trouble.Amelia noticed flames coming from the engine.Would she be able to reach land? There was nothing to do except to keep going and to hope.
In the end, Amelia Earhart did reach Ireland, and for the courage she had shown, she was warmly welcomed in England and Europe.When she returned to the United States, she was honored by President Hoover at a special dinner in the White House.From that time on, Amelia Earhart was famous.
What was so important about her flight? Amelia Earhart was the first woman to fly the Atlantic Ocean alone, and she had set a record of fourteen hours and fifty-six minutes.
In the years that followed, Amelia Earhart made several flights across the United States, and on each occasion she set a new record for flying time.Amelia Earhart made these flights to show that women had a place in aviation and that air travel was useful.
(1).Her engine went wrong when Amelia Earhart was flying alone from North America to England.()
A.T B.F
(2).When Amelia Earhart saw flames coming from the engine, she changed her direction and landed in Ireland.()
A.T B.F
(3).According to the passage, Amelia Earhart's reason for making her flights was to show that aviation was not just for men.()
A.T B.F
(4).Amelia Earhart was the first woman who succeeded in flying across the Atlantic Ocean alone.()
A.T B.F
(5)."A Dangerous Flight from North America to England would be the best title for the passage.()
A.T B.F
第10题
Perceiving goes on in our minds. Of the three people who look out the window, one may say that he sees a policeman giving a motorist a ticket. Another may say that he sees a rush-hour traffic jam at the intersection. The third may say that he sees a woman trying to cross the street with four children in tow. For perception is the mind’s interpretation of what the senses — in this case our eyes — tell us.
Many psychologists today are working to try to determine just how a person experiences or perceives the world around him. Using a scientific approach, these psychologists set up experiments in which they can control all of the factors. By measuring and charting the results of many experiments, they are trying to find out what makes different people perceive totally different things about the same scene.
1.What does the passage mainly tell us________
A、Perceiving has nothing to do with seeing.
B、Perceiving differs from seeing.
C、Seeing is closely connected to perceiving.
D、Seeing has much to do with perceiving.
2.The phrase “with four children in tow” in the second paragraph is closest in meaning to “________”.
A、with four children following closely behind her
B、with four children tied to each other with a rope
C、with four children dragging a rope held by her
D、with four children dragged in a small cart
3.According to the passage, perceiving is an action________ .
A、that tells us information through our eyes
B、that gives us senses in the mind
C、that explains what our senses tell us
D、that makes our mind different
4.The psychologists are trying to draw their conclusion ________.
A、by asking different people to tell how they perceive the same scene
B、by using a scientific approach in setting up their experiments
C、by determining how a person experiences the world around him
D、by measuring and charting the results of many experiments
5.Which of the following statements is NOT true________
A、Different people may perceive the same scene in a different way.
B、That a policeman gives a motorist a ticket means the motorist is fined.
C、No people share the same perception when they are asked to see the same scene.
D、The psychologists can control all of the factors in their experiments.