mysql 内连接,连续两次使用同一张表,自连接

1、内连接 有两个表,学生表student,班级表:class 班级表class: 学生表student: 内连接: select * from class INNER JOIN student on class.id=student.classId 自己也喜欢写成如下这种形式: select * from class,student where class.id=student.classId
相关文章
相关标签/搜索