pet query with donations and population