add temporal / flashback related queries