学生表(id,name,sex,age,depart_id,depart_nam..._id→dept_name,其满足()。
举一反三
- 学生表(id,name,sex,age,depart_id,depart_name),存在函数依赖是id→name,sex,age,depart_id;dept_id→dept_name,其满足
- 有以下程序[br][/br]HashMap[String, Object] map = new HashMap[String, Object]();[br][/br]map.put("id", 1);[br][/br]map.put("name", "张三");[br][/br]map.put("name", "李四");[br][/br]map.put("sex", "男");[br][/br]System.out.println(map);[br][/br]程序运行后的输出结果是( ) A: {sex=男, name=李四, id=1} B: {sex=男, name=张三, id=1} C: {sex=男, name=张三,name=李四, id=1} D: {sex=男, name=李四,name=张三, id=1}
- 输出公司的名称及id,以id的升序排列 A: SELECT name, id FROM job ORDER BY id ASC; B: SELECT name, id FROM job ORDER BY id DESC; C: SELECT name, id FROM job ORDER BY name DECS; D: SELECT name, id FROM job ORDER BY name ASC;
- 以下自定义数据类型的语句中,正确的是 A: A.Type student ID As String * 20 name As String * 10 age As Integer End student B: B.Type student ID As String * 20 name As String * 10 age As Integer End Type C: C.Type student ID As String name As String age As Integer End student D: C.Type ID As String * 20 name As String * 10 age As Integer End Type student
- hive里创建表test,表里添加两个字段id和name,以下哪个HQL是正确的( ) A: create test(id int, name string); B: create test(int id, string name); C: create table test(int id, string name); D: create table test(id int, name string)