Bad SQL is bad