考题
MongoDB的数据类型为()。
A.Key-ValueB.Key-ValueC.DocumentsD.Column-family
考题
Statement是PreparedStatement的父接口。Statement对象用于执行不带参数的简单SQL语句;PreparedStatement对象用于执行预编译SQL语句。()
此题为判断题(对,错)。
考题
部门DEPT(Deptno,Name,Tel,Leader)和职工EMP(Empno,Name,Sex,Address,Deptno)实体集,若一个职工只能属于一个部门,部门负责人Leader是一个职工。关系DEPT和EMP的外码分别为(39);下图中a、b处的实体名分别为(40)。A.Deptno、EmpnoB.Name、DepmoC.Leader、DepmoD.Name、Address
考题
● 部门DEPT(Deptno, Name, Tel, Leader) 和职工EMP(Empno, Name, Sex, Address, Deptno) 实体集,若一个职工只能属于一个部门,部门负责人 Leader 是一个职工。关系DEPT和EMP的外码分别为 (30) ;下图中a、b处的实体名分别为 (31) 。(30)A. Deptno、EmpnoB. Name、 DeptnoC. Leader、DeptnoD. Name、 Address(31)A. DEPT、EmpnoB. DEPT、EMPC. EMP、DeptnoD. EMP、DEPT
考题
部门DEPT(Deptno,Name,Tel,Leader)和职工EMP(Empno,Name,Sex,Address, Deptno)实体集,若一个职工只能属于一个部门,部门负责人Leader是一个职工。关系 DEPT和EMP的外码分别为(30);下图中a、b处的实体名分别为(31)。A.Deptno、EmpnoB.Name、DeptnoC.Leader、DeptnoD.Name、Address
考题
下列选项中,关于Statement描述错误的是()A.Statement是用来执行SQL语句的B.Statement是PreparedStatement的子接口C.获取Statement实现需要使用Connection的createStatement()方法D.PreparedStatement能使用参数占位符,而Statement不行
考题
列出所有部门的职工人数(包括没有职工的部门) ()。A.select dept.deptno,dname,count(emp.empno) from emp,dept where emp.deptno=dept.deptno group by dept.deptno,dname;B.select dept.deptno,dname,count(emp.empno) from emp,dept where emp.deptno()=dept.deptno group by dept.deptno,dname;C.select dept.deptno,dname,count(emp.empno) from emp,dept where emp.deptno=dept.deptno() group by dept.deptno,dname;D.select dept.deptno,dname,count(emp.empno) from emp,dept where emp.deptno(
考题
7、Statement对象提供了执行基本SQL语句的功能。
考题
下列选项中,关于Statement描述错误的是()A.Statement是用来执行SQL语句的B.Statement是PreparedStatement的子接口C.获取Statement实现需要使用Connection的createStatement()方法D.PreparedStatement能使用参数占位符,而Statement不行