query accepts Chequer as query