SQL Interview Question
2015-11-07 02:12
381 查看
面试的时候发现会问一些SQL的基本问题,在此总结一下。
ProgramInterview/SQL 这个网站上的问题还比较全。
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
ProgramInterview/SQL 这个网站上的问题还比较全。
1. Join type
INNER JOIN: Returns all rows when there is at least one match in BOTH tablesLEFT 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
相关文章推荐
- 使用代码提示miui系统开启悬浮框
- Codeforces Round #328 (Div. 2)B. The Monster and the Squirrel
- uinavigationBar常用设置
- UISearchBar custom
- ExecuteThread: '33' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR
- iOS开发:UIImage赋颜色-----给image赋16进制颜色值
- LightOJ - 1081 Square Queries(二维RMQ)
- LightOJ - 1082 Array Queries(RMQ)
- Easy Guide – Fast Start for sipXecs Admins
- LightOJ - 1048 Conquering Keokradong(贪心)
- Angular.JS + Require.JS + angular-async-loader 来实现异步加载 angular 模块
- lintcode 中等题:Segmemt Tree Build II
- [hadoop2.7.1]I/O之SequenceFile最新API编程实例(写入、读取)
- 【UI基础】时钟效果的简单实现
- This Android SDK requires Android Developer Toolkit version 23.0.0 or above
- 最长递增子序列详解(longest increasing subsequence)
- iOS入门编程1--iOS8中提示框的使用UIAlertController(UIAlertView和UIActionSheet二合一)
- Codeforces 235C Cyclical Quest(后缀自动机)
- Introduction to Algorithm - Summary of Chapter 7 - Quicksort
- hdu 4675 GCD of Sequence(计数)