Skip to content

Commit 86be2bf

Browse files
authored
Update analyze-twitch-data-with-sqlite.mdx
1 parent 8a65c9e commit 86be2bf

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

projects/analyze-twitch-data-with-sqlite/analyze-twitch-data-with-sqlite.mdx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ To make sure it’s working:
199199
```
200200
SELECT *
201201
FROM streamers2021
202-
LIMIT 10;
202+
LIMIT 5;
203203
```
204204

205205
You should see something like:
@@ -210,10 +210,6 @@ summit1g,6091677300,211845,310998,25610,5310163,1370184,89705964,True,False,Engl
210210
Gaules,5644590915,515280,387315,10976,1767635,1023779,102611607,True,True,Portuguese
211211
ESL_CSGO,3970318140,517740,300575,7714,3944850,703986,106546942,True,False,English
212212
Tfue,3671000070,123660,285644,29602,8938903,2068424,78998587,True,False,English
213-
Asmongold,3668799075,82260,263720,42414,1563438,554201,61715781,True,False,English
214-
NICKMERCS,3360675195,136275,115633,24181,4074287,1089824,46084211,True,False,English
215-
Fextralife,3301867485,147885,68795,18985,508816,425468,670137548,True,False,English
216-
loltyler1,2928356940,122490,89387,22381,3530767,951730,51349926,True,False,English
217213
218214
sqlite>
219215
```
@@ -248,7 +244,17 @@ To list out the column names again:
248244
- `mature`
249245
- `language`
250246

251-
### Languages
247+
This is kinda hard to understand since there are so many columns, so I would do:
248+
249+
```sql
250+
SELECT channel, followers
251+
FROM streamers2021
252+
LIMIT 25
253+
```
254+
255+
To get the top 25 streamers in 2021.
256+
257+
### Spoken Languages
252258

253259
Let’s find all the unique languages in this dataset using the `DISTINCT` keyword:
254260

0 commit comments

Comments
 (0)