📖 Story
Delhivery · Shipment Data Quality
Delhivery's address-quality team wants a daily list of shipments whose PIN code can't be trusted, so the call centre can phone those customers before the parcel is sent to the wrong delivery centre. An Indian PIN code is exactly 6 digits and never starts with 0. The pincode column is TEXT because it's typed in by sellers, and the mistakes are real: a digit missing, a capital letter O typed in place of a zero, a space in the middle, a leading 0, and one order where the seller left the PIN code out entirely (pincode is NULL — 'never captured', which is the worst case of all, not a safe one).