信贷额度关系credit-in(C_name,limit,Credit_balance)中的三个属性分别表示用户姓名、信贷额度和到目前为止的花费。下表为关系credit-in的一个具体实例。若要查询每个用户还能花费多少,相应的SQL语句应为:Select()From credit-in。

- A.C_name,Credit_balance-limit
- B.C_name,limit-Credit_balance
- C.C_name,limit,Credit_balance
- D.C_name,Credit_balance
正确答案及解析
正确答案
解析
若要查询每个用户还能花费多少,需要给出每个用户的名字和花费,而花费应为limit-Credit_balance,因此,正确地SQL语句应为:
Select C_ name, limit-Credit_balance From credit-in
包含此试题的试卷
你可能感兴趣的试题
( )is the process of transforming information so it is unintelligible to anyone but the intended recipient.
-
- A.Encryption
- B.Decryption
- C.Security
- D.Protection
- 查看答案
As each application module is completed,it undergoes( )to ensure that it operates correctly and reliably.
-
- A.unit testing
- B.integration testing
- C.system testing
- D.acceptance testing
- 查看答案
( )algorithm specifies the way to arrange data in a particular order.
-
- A.Search
- B.Random
- C.Sorting
- D.Merge
- 查看答案
After analyzing the source code,( )generates machine instructions that will carry out the meaning of the program at a later time.
-
- A.an interpreter
- B.a linker
- C.a compiler
- D.a converter
- 查看答案
( )can help organizations to better understand the information contained within the data and will also help identify the data that is most important to the business and future business decisions.
-
- A.Data processing system
- B.Big Data analytics
- C.Cloud computing
- D.Database management
- 查看答案