表关联关系与关联查询
E-R模型:

表关联查询:如果多个表存在关联关系,可以多个表在一起进行查询操作。
多表联合查询语法:select 字段1,字段2 from 表1,表2 ,表3...... where [条件]
例如: select * from dept,person where dept.id=person.dept_id;
E-R模型:

表关联查询:如果多个表存在关联关系,可以多个表在一起进行查询操作。
多表联合查询语法:select 字段1,字段2 from 表1,表2 ,表3...... where [条件]
例如: select * from dept,person where dept.id=person.dept_id;