摘要: 阅读全文
posted @ 2017-01-18 20:55 码农兜兜 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 案例: 1.结果:笛卡尔积查询:两张表相乘得出的结果 2.内连接查询:左边有且右边也有的记录: select * from dept,emp where emp.dept_id=dept.id;或select * from dept inner join emp on emp.dept_id=dep 阅读全文
posted @ 2017-01-18 19:25 码农兜兜 阅读(181) 评论(0) 推荐(0) 编辑