Skip to content

Commit f9c1107

Browse files
authored
Update analyze-twitch-data-with-sqlite.mdx
1 parent 682caaa commit f9c1107

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,30 @@ CREATE TABLE streamers2021 (
161161

162162
These names will have to match the CSV columns as well as the data type here, or else there will be an error later.
163163

164+
If you choose `streamers2024`:
165+
166+
```sql
167+
CREATE TABLE streamers2024 (
168+
rank INTEGER PRIMARY KEY,
169+
name TEXT,
170+
language TEXT,
171+
type TEXT,
172+
most_streamed_game TEXT,
173+
2nd_most_streamed_game TEXT,
174+
average_stream_duration REAL,
175+
followers_gained_per_stream INTEGER,
176+
avg_viewer_per_stream INTEGER,
177+
avg_games_per_stream REAL,
178+
total_time_streamed INTEGER,
179+
total_followers INTEGER,
180+
total_views INTEGER,
181+
total_games_streamed INTEGER,
182+
active_days_per_week REAL,
183+
most_active_day TEXT,
184+
day_with_most_followers_gained TEXT
185+
);
186+
```
187+
164188
### Import CSV into SQLite
165189

166190
It’s time to move our data from the CSV file into a SQL table.

0 commit comments

Comments
 (0)