sql in test