sql is now valid