use query example that compiles