SQL Practice Logo

SQLPractice Online

Company SQL Question

User Retention

Practice this Google style SQL interview question with live execution and instant feedback.

Problem Statement

Find users with a search on day N and also day N+1 by self-joining search_queries on consecutive dates.

Relevant Tables

search_queries

SQL Concepts Used in This Question

Strengthen your understanding with these targeted learning topics: