no more immediately obvious errors in my poorly written SQL