select * from tblItemsOrderedTemp where AuthID = 'VH5dFMfKgGDBVbZkDBjIDyZv7GZyeYxUcZXyQBGXgRCaK9Ia4y' and ProdIDref in (select ProdIDLimit from tblArticleInAddition where Land = 1 and StartDate < '2018-04-21 22:56:35' and StopDate > '2018-04-20 22:56:35' and ISNULL(ProdIDLimit, 0) > 0)