达内JSD1510第二次月考题
考试范围:oracle数据库
适合初学者对数据库的基础知识进行测试。
1.
(单选)查询cost表中资费名称,月固定费用,月包在线时长,单位费用,下列sql语句正确的是:
A.select name/base_duration/base_cost/unit_cost from cost
B.select name,base_cost,unit_cost from cost
C.select name and base_duration and base_cost and unit_cost from cost
D.select name,base_duration,base_cost,unit_cost from cost
正确答案:D
2.
(单选)包含事务控制方法setAutoCommit, commit, rollback的是:() 。
A.Connection
B.Statement
C.ResultSet
D.DriverManager
正确答案:A
3.
(单选)下面不属于接口的是:()。