关于多表查询:一对多关联关系,外键一定定义在多方;反过来,如果一个表里面有外键字段,说明它肯定充当着多方。 1. 使用Map @Test public void testSelectStudentByName() { Student stu = new Student("田七",29,94); Map<String, Object> map = new HashMap<String, Object>(); map.put("nameCon", "张&