SQL Practice Logo

SQLPractice Online

Company SQL Question

Repeat Customers

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

Problem Statement

Find users who booked the same listing more than once. Show user_id, listing_id, and number of times booked, ordered by booking count descending.

Relevant Tables

bookings

SQL Concepts Used in This Question

Strengthen your understanding with these targeted learning topics: