DELETE FROM b_iblock_section WHERE id IN (SELECT ID FROM b_iblock_section WHERE IBLOCK_ID=4 LIMIT 0,100);
DELETE FROM b_iblock_section WHERE IBLOCK_ID=4 LIMIT 100
DELETE FROM b_iblock_section WHERE id IN (
SELECT * FROM (
SELECT ID FROM b_iblock_section WHERE IBLOCK_ID=4 LIMIT 0,100
) as `id`
)
DELETE FROM b_iblock_section WHERE IBLOCK_ID=4 LIMIT 100;