← All SQL interview questions

Courier partners with no shipments in February

MediumJoins — Left/Right Outer JoinFlipkartRSystems

Vendor management reviews contracts for courier partners that were idle in February 2026.

Return partner_id and partner_name for every partner in courier_partners that has no shipment rows in shipments dated in February 2026. Partners with shipments in other months still count as idle for February.

Sample data

Table: courier_partners

8 row(s)

partner_idINTpartner_nameTEXTregionTEXT
1BlueDartNorth
2DelhiveryNorth
3Ecom ExpressWest
4ShadowfaxSouth
5XpressBeesWest
6Gati LogisticsEast
7SafexpressCentral
8Rivigo FreightEast

Table: shipments

14 row(s) · showing first 8

shipment_idINTpartner_idINTship_dateDATEweight_kgNUMERIC(6,2)
900112026-02-0212.50
900212026-02-144.20
900322026-01-2818.00
900432026-02-057.75
900532026-02-1922.40
900642026-03-019.10
900752026-02-0831.60
900852026-02-2715.25

Practising alone only goes so far — our live cohorts pair SQL depth with dashboards, agentic analytics projects and mock interviews.

Explore the program