Last active
August 14, 2020 04:47
-
-
Save Abidzar16/bc3e93fe94f90cda30bf39be889b7763 to your computer and use it in GitHub Desktop.
DE_SQL soal nomor 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT DISTINCT userId, AVG(duration) | |
FROM sessions | |
GROUP BY userId | |
HAVING COUNT(userId) > 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment