save sample query