SELECT distinct SMSTAFF.SERVERLOGIN, SUPERMAG.SMSTOCKLEVELSHIST.ARTICLE FROM SUPERMAG.SMSTAFF, SUPERMAG.SMSTOCKLEVELSHIST WHERE (SMSTOCKLEVELSHIST.EMPLOYEE = SMSTAFF.ID) AND (SMSTOCKLEVELSHIST.EVENTTIME BETWEEN '01.01.2014' AND (SYSDATE)) AND ((SMSTAFF.SERVERLOGIN LIKE 'ЮЗЕР1') OR (SMSTAFF.SERVERLOGIN LIKE 'ЮЗЕР2')) ORDER BY SUPERMAG.SMSTOCKLEVELSHIST.ARTICLE;