show query in resources show