
数据库
Kelly Fu
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Leetcode SQL
Content1. Rank problem 1. Rank problem 177. Nth Highest Salary CREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT BEGIN # DECLARE M INT; # SET M = N-1; RETURN ( # Write your MySQL qu...原创 2020-05-01 16:32:39 · 449 阅读 · 0 评论 -
SQL(View && trigger &&Procedure)
Content1. View2. Trigger3. Stored ProceduresReference 1. View 2. Trigger 3. Stored Procedures A stored procedure is a prepared SQL code that you can save, so the code can be reused over and over again...原创 2020-03-26 06:05:22 · 473 阅读 · 0 评论 -
SQL基础
SQL 基础1. Definition2. SQL Command Flow3. SQL Command3.1 DDL(Data Definition Language)3.2 DML(Data Manipulation Language)3.3 DQL(Data Query Language)3.4 DCL(Data Control Language)3.5 TCL(Transaction C...原创 2020-03-21 18:55:22 · 252 阅读 · 0 评论 -
数据库基础知识
Some basic knowledge of DB1. Definitions2. The relational modelDatabase Integrity(数据库约束)数据库完整性 1. Definitions Database:A structured collection of meaningful data. Data: Meaningful information Databas...原创 2020-03-19 16:17:52 · 326 阅读 · 0 评论 -
SQL Window Function
文章目录1. 窗口函数2. 语法2.1 分析函数(Analytical function)2.2 PARTITION BY2.3 ORDER BY2.4 ROWS3. 用法举例参考资料 1. 窗口函数 窗口函数(window (analytical) functions): 简单的说, 就是在每一个窗口上进行分析操作。 窗口就是一个行的集合。分析操作就是一些聚合操作。 2. 语法 <Func...原创 2020-03-18 05:50:23 · 450 阅读 · 0 评论