I’m trying to query all the users with their first successful app install with the app version details.
So I tried to query users’ first successful install, then compare the installed_date with latest app version before installed_date.
SELECT DISTINCT user_id, installed_time
WHERE state=SUCCESSFUL
FROM installation
ORDER BY ASC
The query above returns all users with their first successful installed.
How do I find which version of the app that they have installed when they first installed it successfully?
My tables are described below:
Installation:
user_id,
installed_date,
Version:
version_id,
release_date,
release_code,