I need to write the query to get this logic
I need to roll up cost by phonenumber and by provider (i.e. if phone appears multiple times under the same provider we returns the rolled up cost for that phone)
Please tell me the sql code for this logic every one
Thanks!