Αποστολή με SMS: Repairing and Querying Databases under Aggregate Constraints