Given two tables, DONOR and ACCEPTOR, find the city with the best and worst donor-to-acceptor ratio.
Calculate the ratio as donor count divided by acceptor count. Consider only cities with at least one donor and one acceptor. Break ratio ties alphabetically by city.
ratio_type, city, donor_count, acceptor_count, and donor_to_acceptor_ratio.best row and one worst row.best before worst.| Column | Type | Description |
|---|---|---|
| donor_idPK | INT | Unique donor identifier |
| city | VARCHAR(100) | Donor city |
| Column | Type | Description |
|---|---|---|
| acceptor_idPK | INT | Unique acceptor identifier |
| city | VARCHAR(100) | Acceptor city |