New sql for tests