I derp at sql