您的位置:首页 > 产品设计 > UI/UE

SQL Interview Question

2015-11-07 02:12 381 查看
面试的时候发现会问一些SQL的基本问题,在此总结一下。

ProgramInterview/SQL 这个网站上的问题还比较全。

1. Join type

INNER JOIN: Returns all rows when there is at least one match in BOTH tables
LEFT JOIN: Return all rows from the left table, and the matched rows from the right table
RIGHT JOIN: Return all rows from the right table, and the matched rows from the left table
FULL JOIN: Return all rows when there is a match in ONE of the tables
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: