首页 > 其他 > 详细

表关联关系与关联查询

时间:2021-04-24 16:41:49      阅读:17      评论:0      收藏:0      [点我收藏+]

E-R模型:

技术分享图片

 

表关联查询:如果多个表存在关联关系,可以多个表在一起进行查询操作。

  多表联合查询语法:select 字段1,字段2  from  表1,表2 ,表3......   where [条件]

  例如: select *  from dept,person where dept.id=person.dept_id;

 

表关联关系与关联查询

原文:https://www.cnblogs.com/libotao/p/14696565.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!