MySQL Query Error: SELECT min(ub.DATE_CREATE), ub.USER_ID, u.EMAIL, u.NAME, u.LAST_NAME, ub.ARTICLE, ub.BARCODE, (SELECT bie.NAME FROM b_iblock_element bie WHERE bie.code = ub.ARTICLE COLLATE utf8_general_ci) as PRODUCT_NAME FROM my_user_barcodes ub INNER JOIN b_uts_user uu ON uu.VALUE_ID = ub.USER_ID INNER JOIN b_user u ON u.ID = ub.USER_ID WHERE DATE(ub.DATE_CREATE) = DATE_SUB(CURDATE(), INTERVAL 1 MONTH) AND DATE(ub.DATE_CREATE) > DATE(uu.UF_DATE_SEND_POLL) AND ub.BARCODE>0 GROUP BY ub.USER_ID [Subquery returns more than 1 row]

DB query error.
Please try later.