文本描述
一、 单选(35小题共70.0分)1.在Oracle中,现有Student表,其中包括学号stuId,姓名stuName,成绩stuGrade,现要查询成绩为80分的学生姓名,并且结果按照学号降序排列,下面查询语句正确的是()。A.SELECT stuName FROM student WHERE stuGrade=80 ORDER BY stuIdB.SELECT stuName FROM student WHERE stuGrade=80 ORDER BY stuId DESCC.SELECT stuName FROM student WHERE stuGrade like 80 GROUP BY stuIdD.SELECT stuName FROM student WHERE stuGrade=80 GROUP BY stuId DESC2.关于Java线程说法错误的是()。A.创建线程的有2种方式,方式1是继承Thread类,方式2是实现 Runnable 接口B.解决线程安全使用问题 synchronized关键字,使得同一时间只有一个线程执行该关键字限定的代码段C.线程间通信所使用的方法有,wait,notify,notifyAll,它们都是 Thread 的方法D.Java线程包括5个状态,线程的创建,可运行,运行,阻塞和消亡3.一个VIEW被以下语句创建,请问在该VIEW上可进行操作是:()。CREATE VIEW usa_statesAS SELECT *FROM stateWHERE cnt_code =1WITH READ ONLY;A.SELECTB.SELECT , UPDATEC.SELECT , DELETED.SELECT , INSERT4.现有a表和b表表a:jigou(机构),kehhao(客户号),jiaoyrq(交易日期),jioyje(交易金额)表b: kehhao(客户号),表b为VIP客户号表统计分机构VIP客户的数量,下面SQL语句正确的是:()。A.SELECT COUNT(a.kehhao) FROM a INNER JOIN b ON a.kehhao = b.kehhao GROUP BY jigouB.SELECT COUNT(a.kehhao) FROM a INNER JOIN b ON a.kehhao = b.kehhao ORDER BY jigouC.SELECT SUM(a.kehhao) FROM a INNER JOIN b ON a.kehhao = b.kehhao ORDER BY jigouD.SELECT COUNT(a.kehhao) FROM a INNER JOIN b O