Skip to content

Commit bb702f7

Browse files
author
Josh Adkins
committed
Updates
1 parent 951b269 commit bb702f7

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

README.md

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ SET column = 'new_value'
7676
WHERE condition;
7777
```
7878

79-
### Joins and Unions
79+
## Joins and Unions 🔗
8080

8181
### Inner join
8282
```sql
@@ -91,19 +91,6 @@ UNION
9191
SELECT column FROM table2;
9292
```
9393

94-
### Updating Data
95-
```sql
96-
UPDATE table
97-
SET column = 'new_value'
98-
WHERE condition;
99-
```
100-
### Updating Data
101-
```sql
102-
UPDATE table
103-
SET column = 'new_value'
104-
WHERE condition;
105-
```
106-
10794
## Aggregation 📊
10895
### Group By
10996
```sql
@@ -120,15 +107,15 @@ GROUP BY column
120107
HAVING COUNT(*) > 1;
121108
```
122109

123-
## Window Functions
110+
## Window Functions 🪟
124111

125112
### Rank and Partition (could also be Row_Number)
126113
```sql
127114
SELECT column, RANK() OVER (PARTITION BY category ORDER BY value DESC) AS ranking
128115
FROM table;
129116
```
130117

131-
## Indexes and Optimization
118+
## Indexes and Optimization ⚙️
132119

133120
### Indexing
134121
```sql
@@ -165,7 +152,7 @@ END;
165152

166153
```
167154

168-
### Data Modeling
155+
### Data Modeling 🛠️
169156

170157
![Alt text](image.png)
171158

0 commit comments

Comments
 (0)