SELECT * FROM materialrows as t1 WHERE t1.articleid='626' LIMIT 30 OFFSET -30