DEV Community

Judy
Judy

Posted on

What to use for data analysis programming, SQL, Python, or esProc SPL?

Image description
01 - User Session Count
User behavior data table
Image description
A session is considered over if a user does not take any action within 10 minutes, or if they do not log in within 5 minutes after logging out. Calculate the number of sessions for each user.
Image description
Copy Code

02 - Count the players who score 3 times in a row within 1 minute
Score table of a ball game
Image description
Image description
Copy Code

03 - Calculate the number of users who are active for three consecutive days within every 7 days
User login data table
Image description
Image description
Copy code

04 - Calculate the next-day retention rate of new users per day
User login data table
Image description
Image description

Copy code

05 - Calculate the increase of stock price on the day when it is higher than those on the previous and next 5 days
Stock price data table
Image description
Image description
Copy code

Open source SPL source address

Download

Top comments (0)