摘要: 第二种方法,采用结果查询:但老师的ID 要和学生的TID有个对应关系 注意事宜:SQL语句需加上 t.id tid 如果不注明 查出来的老师ID 则为O <select id="getStudent2" resultMap="StudentTeacher2"> select s.id sid,s.n 阅读全文
posted @ 2023-03-13 07:09 Rui2022 阅读(40) 评论(0) 推荐(0) 编辑