module Sequel::MSSQL::EmulateLateralWithApply