Question 202

Monthly active paid subscriptions

Premium Access

Unlock this Apple interview question.

Sign in or upgrade to practice this question with full datasets, official solutions, and guided walkthroughs.

  • 230+ interview questions
  • Official solutions
  • SQL, Python, and R tracks
  • ***** ** *** 1, 2023. ***** * ***** ** ***** *** ****** ** ****** ************* *** *** ***** 4 ****** ** 2023.
  • * ************ ***** *** ****** ** ******* ** ******.
  • *** ***_** ****** ** **** **** ******** ************ **** ***, ** ***** ** ** *** **** ** ** *** ******, *** ***** ****.
  • ** * **** ****'* ****** ***** ************, ***** **** ** * *** ****** **** * ******** ************ ** **** * ***-*********** ***** *** *** **********,
  • ************_** ** ****** *** *** ******* *** ** **** *****.
  • '*****' ** *** ********** ** '****** ****' ***********.
  • ** * **** ************ ******* ****** *** ***** ** * *****, *** **** ** ** ***** **** *****, ** ** ********** '****** **** ************' *** **** *****, *** *** **** ** ** ****** **** ****** *** **** *****.

Table 1: apple_subscription

************ *****

     ******      |            ****             
-----------------+-----------------------------
 ************_** | ******                      
 *******_****    | ********* *******(100)      
 *******         | ********* *******(2)        
 *****_**        | ********* 
 ***_**          | *********
 *****           | ********* *******(20)       

Table 2: dates

******** ***** **** 01/01/2019 ** 12/31/2025.

 ***_**** | ***_****
----------+----------
 ****     | ********
 *****    | ********
 ****     | ****

Sample results


        
    

Last Submission

postgres

No submission yet for this engine. Run and submit your query to save it here.

Copied
Expected results

Submit a query to compare against expected output.