ATs for statement use ordered query.