open queries