select * from tblItemsOrderedTemp where AuthID = 'GNLhc207mKope8B4FRveMUk4GlXKktrLSh2p0Y0yF09E37i0MK' and ProdIDref in (select ProdIDLimit from tblArticleInAddition where Land = 1 and StartDate < '2018-11-17 10:05:08' and StopDate > '2018-11-16 10:05:08' and ISNULL(ProdIDLimit, 0) > 0)