Test SQLs updated