More querying cleanup
use sinterstore for temp storing queries