instruction: create while loop with cte. http://stackoverflow.com/questions/12929165/create-while-loop-with-cte
response: WITH Nums AS (SELECT Digit FROM (VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9)) AS Nums(Digit)) SELECT CAST(id AS TEXT(5)) AS id FROM (SELECT t3.digit * 100 + t2.digit * 10 + t1.digit + 1 AS id FROM Nums AS t1 CROSS JOIN Nums AS t2 CROSS JOIN Nums AS t3) AS t WHERE id <= 884 ORDER BY id