Querying Price Ranges in MySQL Without Splitting the Column
When designing a restaurant database, it's common to store a price range—for example, "$8-$4000"—as a single string. It’s simple, user-friendly, and works well for display. However, this structure poses a challenge when you need to filter or sort based on the minimum