File tree Expand file tree Collapse file tree
projects/analyze-twitch-data-with-sqlite Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ -- Analyze Twitch Data with SQLite
12
3+ -- Create a table
4+
5+ CREATE TABLE streamers2021 (
6+ channel TEXT PRIMARY KEY,
7+ watch_time INTEGER,
8+ stream_time INTEGER,
9+ peak_viewers INTEGER,
10+ average_viewers INTEGER,
11+ followers INTEGER,
12+ followers_gained INTEGER,
13+ views_gained INTEGER,
14+ partnered TEXT,
15+ mature TEXT,
16+ language TEXT
17+ );
18+
19+ CREATE TABLE streamers2024 (
20+ rank INTEGER PRIMARY KEY,
21+ name TEXT,
22+ language TEXT,
23+ type TEXT,
24+ most_streamed_game TEXT,
25+ second_most_streamed_game TEXT,
26+ average_stream_duration REAL,
27+ followers_gained_per_stream INTEGER,
28+ avg_viewers_per_stream INTEGER,
29+ avg_games_per_stream REAL,
30+ total_time_streamed INTEGER,
31+ total_followers INTEGER,
32+ total_views INTEGER,
33+ total_games_streamed INTEGER,
34+ active_days_per_week REAL,
35+ most_active_day TEXT,
36+ day_with_most_followers_gained TEXT
37+ );
You can’t perform that action at this time.
0 commit comments