File tree Expand file tree Collapse file tree 1 file changed +4
-17
lines changed
Expand file tree Collapse file tree 1 file changed +4
-17
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ SET column = 'new_value'
7676WHERE condition;
7777```
7878
79- ### Joins and Unions
79+ ## Joins and Unions 🔗
8080
8181### Inner join
8282``` sql
9191SELECT 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
120107HAVING COUNT (* ) > 1 ;
121108```
122109
123- ## Window Functions
110+ ## Window Functions 🪟
124111
125112### Rank and Partition (could also be Row_Number)
126113``` sql
127114SELECT column, RANK() OVER (PARTITION BY category ORDER BY value DESC ) AS ranking
128115FROM table;
129116```
130117
131- ## Indexes and Optimization
118+ ## Indexes and Optimization ⚙️
132119
133120### Indexing
134121``` sql
165152
166153```
167154
168- ### Data Modeling
155+ ### Data Modeling 🛠️
169156
170157![ Alt text] ( image.png )
171158
You can’t perform that action at this time.
0 commit comments