I have a table that looks like this:
Customer ID, MDN, Plan, StartDate, EndDate, Term, SMS Usage, Voice Usage
Ordering by SMS Usage in ascending or descending order
I want to delete the top 5% of all records, and the bottom 50% leaving behind the remaining 90% of customers
When you are happy that the query is returning the right rows, you can uncomment the
DELETEand comment or remove the last line.