Question
There are two lists of dictionaries representing friendship beginnings and endings: friends_added and friends_removed. Each dictionary contains the user_ids and created_at time of the friendship beginning /ending .
0
55 years 0 Answers 272 views Great Grand Master

Question
We have a table called `song_plays` that tracks each time a user plays a song.Let's say we want to create an aggregate table called `lifetime_plays` that records the song count by date for each user.Write a SQL query that could make this ETL each ...
0
55 years 0 Answers 325 views Great Grand Master

Question
Let's say we have a table with an id and name field. The table holds over 100 million rows and we want to sample a random row in the table without throttling the database.Write a query to randomly sample a row from this table.
in progress 0
55 years 0 Answers 347 views Great Grand Master