auto commit

This commit is contained in:
CyC2018 2018-06-09 21:43:10 +08:00
parent 418de434ee
commit 7545ae24b3

View File

@ -554,7 +554,7 @@ VALUES
```sql
SELECT
C.NAME AS Customers
C.Name AS Customers
FROM
Customers C
LEFT JOIN Orders O ON C.Id = O.CustomerId
@ -566,11 +566,11 @@ WHERE
```sql
SELECT
C.NAME AS Customers
Name AS Customers
FROM
Customers C
Customers
WHERE
C.Id NOT IN ( SELECT CustomerId FROM Orders );
Id NOT IN ( SELECT CustomerId FROM Orders );
```
# 184. Department Highest Salary
@ -637,7 +637,7 @@ VALUES
创建一个临时表,包含了部门员工的最大薪资。可以对部门进行分组,然后使用 MAX() 汇总函数取得最大薪资。
之后使用连接找到一个部门中薪资等于临时表中最大薪资的员工。
之后使用连接找到一个部门中薪资等于临时表中最大薪资的员工。
```sql
SELECT