摘要: 数据库基础知识:(1)关联查询 1)横向关联查询: a、inner join:内关联,只组合数据表中匹配项相等的行。 select * from tbl inner join tb2 on tb1.id=tb2.id b、left join:左关联,以左面所关联表为基准,左面记... 阅读全文
posted @ 2015-11-27 23:40 人走茶亦凉 阅读(153) 评论(0) 推荐(0)