Search ⌘K
Practice Workspace

Practice with the full bank, then narrow into a path.

Your active path is foundations track, but the catalog stays broad by default so you can spot harder reps, switch contexts quickly, and still return to the path that best matches your current goal. Starter includes 160 free problems and marks 94 Pro-only problems before you open a gate.

254 problems
160 free
94 Pro
393 company scenarios
34 hard reps visible
160 runnable on starter
0 solved so far
Start broad, then focus when you want structure.

Company labels help frame practice in a familiar business context. They are directional study aids, not official interview guidance from the companies listed. We keep all paths visible first so hard questions do not disappear.

13 visible
Hard 1
Medium 4
Easy 8
160 free problems

· 94 Pro problems · Filter:

Company
Difficulty
Path
Suggested path: Foundations Track
Pro feature
Free questions stay open
Browse first, then sign in when you want to run SQL.

Free problems open for practice. Pro unlocks the full bank, study plan, and mock interviews.

IshaSQL Pro — 30-day pass
₹999

30 days of Pro access. Renew or extend anytime; extra time stacks from your current end date.

IshaSQL Pro — annual pass
Best value
₹7,999

365 days of Pro access. Renew or extend anytime; extra time stacks from your current end date.

8+ months free vs buying 30-day passes.

F
Facebook

Foundations Track

Easy
15 min
10. Difference between BETWEEN and IN operators

BETWEEN is used to select rows that match a range of values, whereas the IN operator checks for values in a specified list of values. For example, to find ca...

Foundations Track
filtering
F
Facebook

Foundations Track

Easy
15 min
9790 Number Of Processed Complaints

SELECT type, COUNT(complaint_id) FILTER(WHERE processed='TRUE') AS processed_complaints, COUNT(complaint_id) FILTER(WHERE processed='FALSE') AS non_processed...

Foundations Track
aggregation
filtering
F
Facebook

Foundations Track

Easy
15 min
9789 Find The Total Number Of Approved Friendship Requests In January And February

SELECT COUNT(*) as n_approved FROM facebook_friendship_requests WHERE date_approved BETWEEN '2019-01-01' and '2019-02-28' -- NOTE: solved on first attempt

Foundations Track
aggregation
filtering
F
Facebook

Foundations Track

Easy
15 min
Closed Account Ratio

Use this Facebook scorecard to work on closed account ratio. The account integrity team wants the share of accounts that were closed on 2020-01-10. Return on...

Foundations Track
aggregation
filtering
F
Facebook

Foundations Track

Medium
25 min
34 Email Table Transformation

-- Each Facebook user can designate a personal email address, a business email address, and a recovery email address. -- Unfortunately, the table is currentl...

Foundations Track
Pro
aggregation
F
Facebook

Foundations Track

Medium
25 min
01 Active User Retention

-- Assume you're given a table containing information on Facebook user actions. Write a query to obtain number of monthly active users (MAUs) in July 2022, i...

Foundations Track
Pro
aggregation
filtering
F
Facebook

Interview Core Track

Easy
15 min
Facebook Pages and Likes Analysis

Assume you're given two tables containing data about Facebook Pages and their respective likes (as in "Like a Facebook Page"). Write a query to return the ID...

Interview Core Track
joins
filtering
F
Facebook

Interview Core Track

Easy
15 min
10088 Liked Posts

SELECT COUNT(DISTINCT p.post_id) as n_posts_with_a_like FROM facebook_posts p JOIN facebook_reactions r ON p.post_id = r.post_id and r.reaction = 'like'

Interview Core Track
joins
aggregation
F
Facebook

Interview Core Track

Easy
15 min
Average Employee Popularity By Location

Facebook wants a scorecard for average employee popularity by location. The workplace insights team wants to compare employee survey popularity by office loc...

Interview Core Track
joins
aggregation
F
Facebook

Interview Core Track

Easy
15 min
Posts With Heart Reactions

At Facebook, analysts are preparing a scorecard focused on posts with heart reactions. The engagement team wants the full post records for posts that receive...

Interview Core Track
joins
filtering
F
Facebook

Interview Core Track

Medium
25 min
2081 Recommendation System

-- Problem Statement: -- You are given the list of Facebook friends and the list of Facebook pages that users follow. Your task is to create a new recommenda...

Interview Core Track
Pro
joins
filtering
F
Facebook

Interview Core Track

Medium
25 min
9777 Successfully Sent Messages

WITH success_or_not as ( SELECT ms.message_id, CASE WHEN mr.message_id IS NOT NULL THEN 1 ELSE 0 END as receive_success FROM facebook_messages_sent ms LEFT J...

Interview Core Track
Pro
joins
aggregation
F
Facebook

Interview Core Track

Hard
35 min
9793 Average Time Between Steps

WITH step_differences AS ( SELECT feature_id, user_id, step_reached, timestamp, LEAD(timestamp) OVER (PARTITION BY feature_id, user_id ORDER BY step_reached)...

Interview Core Track
Pro
aggregation
date functions