SQL中的JOIN类型解释(CROSS, INNER,OUTER),关键字ON,USING

书上讲得明白,解了不少迷惑。

SQL中的JOIN类型解释(CROSS, INNER,OUTER),关键字ON,USING

SQL中的JOIN类型解释(CROSS, INNER,OUTER),关键字ON,USING

SELECT e.fname, e.lname, d.name  FROM employee AS e INNER JOIN department AS d ON e.dept_id = d.dept_id;
SELECT e.fname, e.lname, d.name  FROM employee AS e INNER JOIN department AS d USING (dept_id);

SQL中的JOIN类型解释(CROSS, INNER,OUTER),关键字ON,USING

上一篇:FJOI2017前做题记录


下一篇:(浅谈).Net控件GridView绑定数据