DEV Community

Judy
Judy

Posted on

2 1 1 1 1

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

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay