Fix: broken SQL for kpc ratio