📖 Story
Cars24 · Text-Stored Price Filtering
Saturday morning at Cars24's Inventory Pricing desk. cars24_listings holds every used car currently listed, but price_text was imported straight from an old spreadsheet years ago and stored as TEXT — every value looks like a number ('450000', '1150000'), but SQLite treats the whole column as plain text, quotes and all. One listing, Toyota Innova Crysta 2019, has price_text = NULL because the seller and buyer are still negotiating and there's genuinely no final number to record yet — that's different from a price of zero. The pricing team wants every listing priced above 500000 so they can route it to the premium-inventory team, sorted from most to least expensive.