Skip to content

Commit d512017

Browse files
committed
fix: update README template for SQL
1 parent 6ca4705 commit d512017

File tree

26 files changed

+28
-341
lines changed

26 files changed

+28
-341
lines changed

solution/0100-0199/0175.Combine Two Tables/README.md

+2-15
Original file line numberDiff line numberDiff line change
@@ -46,23 +46,10 @@ AddressId 是上表主键
4646

4747
<!-- tabs:start -->
4848

49-
### **Python3**
50-
<!-- 这里可写当前语言的特殊实现逻辑 -->
49+
### **SQL**
5150

52-
```python
53-
54-
```
55-
56-
### **Java**
57-
<!-- 这里可写当前语言的特殊实现逻辑 -->
58-
59-
```java
60-
61-
```
62-
63-
### **...**
6451
```
65-
52+
select p.FirstName, p.LastName, a.City, a.State from Person p left join Address a on p.PersonId = a.PersonId;
6653
```
6754

6855
<!-- tabs:end -->

solution/0100-0199/0175.Combine Two Tables/README_EN.md

+2-14
Original file line numberDiff line numberDiff line change
@@ -76,24 +76,12 @@ FirstName, LastName, City, State
7676

7777
## Solutions
7878

79-
8079
<!-- tabs:start -->
8180

82-
### **Python3**
83-
84-
```python
81+
### **SQL**
8582

8683
```
87-
88-
### **Java**
89-
90-
```java
91-
92-
```
93-
94-
### **...**
95-
```
96-
84+
select p.FirstName, p.LastName, a.City, a.State from Person p left join Address a on p.PersonId = a.PersonId;
9785
```
9886

9987
<!-- tabs:end -->

solution/0100-0199/0176.Second Highest Salary/README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,8 @@
3232

3333
<!-- tabs:start -->
3434

35-
### **Python3**
36-
<!-- 这里可写当前语言的特殊实现逻辑 -->
35+
### **SQL**
3736

38-
```python
39-
40-
```
41-
42-
### **Java**
43-
<!-- 这里可写当前语言的特殊实现逻辑 -->
44-
45-
```java
46-
47-
```
48-
49-
### **...**
5037
```
5138
5239
```

solution/0100-0199/0176.Second Highest Salary/README_EN.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,8 @@
5353

5454
<!-- tabs:start -->
5555

56-
### **Python3**
56+
### **SQL**
5757

58-
```python
59-
60-
```
61-
62-
### **Java**
63-
64-
```java
65-
66-
```
67-
68-
### **...**
6958
```
7059
7160
```

solution/0100-0199/0177.Nth Highest Salary/README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -32,21 +32,8 @@
3232

3333
<!-- tabs:start -->
3434

35-
### **Python3**
36-
<!-- 这里可写当前语言的特殊实现逻辑 -->
35+
### **SQL**
3736

38-
```python
39-
40-
```
41-
42-
### **Java**
43-
<!-- 这里可写当前语言的特殊实现逻辑 -->
44-
45-
```java
46-
47-
```
48-
49-
### **...**
5037
```
5138
5239
```

solution/0100-0199/0177.Nth Highest Salary/README_EN.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -53,19 +53,8 @@
5353

5454
<!-- tabs:start -->
5555

56-
### **Python3**
56+
### **SQL**
5757

58-
```python
59-
60-
```
61-
62-
### **Java**
63-
64-
```java
65-
66-
```
67-
68-
### **...**
6958
```
7059
7160
```

solution/0100-0199/0178.Rank Scores/README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,8 @@
4040

4141
<!-- tabs:start -->
4242

43-
### **Python3**
44-
<!-- 这里可写当前语言的特殊实现逻辑 -->
43+
### **SQL**
4544

46-
```python
47-
48-
```
49-
50-
### **Java**
51-
<!-- 这里可写当前语言的特殊实现逻辑 -->
52-
53-
```java
54-
55-
```
56-
57-
### **...**
5845
```
5946
6047
```

solution/0100-0199/0178.Rank Scores/README_EN.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -69,19 +69,8 @@
6969

7070
<!-- tabs:start -->
7171

72-
### **Python3**
72+
### **SQL**
7373

74-
```python
75-
76-
```
77-
78-
### **Java**
79-
80-
```java
81-
82-
```
83-
84-
### **...**
8574
```
8675
8776
```

solution/0100-0199/0180.Consecutive Numbers/README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,8 @@
3636

3737
<!-- tabs:start -->
3838

39-
### **Python3**
40-
<!-- 这里可写当前语言的特殊实现逻辑 -->
39+
### **SQL**
4140

42-
```python
43-
44-
```
45-
46-
### **Java**
47-
<!-- 这里可写当前语言的特殊实现逻辑 -->
48-
49-
```java
50-
51-
```
52-
53-
### **...**
5441
```
5542
5643
```

solution/0100-0199/0180.Consecutive Numbers/README_EN.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -61,19 +61,8 @@
6161

6262
<!-- tabs:start -->
6363

64-
### **Python3**
64+
### **SQL**
6565

66-
```python
67-
68-
```
69-
70-
### **Java**
71-
72-
```java
73-
74-
```
75-
76-
### **...**
7766
```
7867
7968
```

solution/0100-0199/0181.Employees Earning More Than Their Managers/README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,8 @@
3333

3434
<!-- tabs:start -->
3535

36-
### **Python3**
37-
<!-- 这里可写当前语言的特殊实现逻辑 -->
36+
### **SQL**
3837

39-
```python
40-
41-
```
42-
43-
### **Java**
44-
<!-- 这里可写当前语言的特殊实现逻辑 -->
45-
46-
```java
47-
48-
```
49-
50-
### **...**
5138
```
5239
5340
```

solution/0100-0199/0181.Employees Earning More Than Their Managers/README_EN.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -55,19 +55,8 @@
5555

5656
<!-- tabs:start -->
5757

58-
### **Python3**
58+
### **SQL**
5959

60-
```python
61-
62-
```
63-
64-
### **Java**
65-
66-
```java
67-
68-
```
69-
70-
### **...**
7160
```
7261
7362
```

solution/0100-0199/0182.Duplicate Emails/README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -36,21 +36,8 @@
3636

3737
<!-- tabs:start -->
3838

39-
### **Python3**
40-
<!-- 这里可写当前语言的特殊实现逻辑 -->
39+
### **SQL**
4140

42-
```python
43-
44-
```
45-
46-
### **Java**
47-
<!-- 这里可写当前语言的特殊实现逻辑 -->
48-
49-
```java
50-
51-
```
52-
53-
### **...**
5441
```
5542
5643
```

solution/0100-0199/0182.Duplicate Emails/README_EN.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -57,19 +57,8 @@
5757

5858
<!-- tabs:start -->
5959

60-
### **Python3**
60+
### **SQL**
6161

62-
```python
63-
64-
```
65-
66-
### **Java**
67-
68-
```java
69-
70-
```
71-
72-
### **...**
7362
```
7463
7564
```

solution/0100-0199/0183.Customers Who Never Order/README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,8 @@
4646

4747
<!-- tabs:start -->
4848

49-
### **Python3**
50-
<!-- 这里可写当前语言的特殊实现逻辑 -->
49+
### **SQL**
5150

52-
```python
53-
54-
```
55-
56-
### **Java**
57-
<!-- 这里可写当前语言的特殊实现逻辑 -->
58-
59-
```java
60-
61-
```
62-
63-
### **...**
6451
```
6552
6653
```

solution/0100-0199/0183.Customers Who Never Order/README_EN.md

+1-12
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,8 @@
8383

8484
<!-- tabs:start -->
8585

86-
### **Python3**
86+
### **SQL**
8787

88-
```python
89-
90-
```
91-
92-
### **Java**
93-
94-
```java
95-
96-
```
97-
98-
### **...**
9988
```
10089
10190
```

solution/0100-0199/0184.Department Highest Salary/README.md

+1-14
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,8 @@
4444

4545
<!-- tabs:start -->
4646

47-
### **Python3**
48-
<!-- 这里可写当前语言的特殊实现逻辑 -->
47+
### **SQL**
4948

50-
```python
51-
52-
```
53-
54-
### **Java**
55-
<!-- 这里可写当前语言的特殊实现逻辑 -->
56-
57-
```java
58-
59-
```
60-
61-
### **...**
6249
```
6350
6451
```

0 commit comments

Comments
 (0)