Friday, March 28, 2014

Outlandish SQLite Recursive Query Examples

SQLite:

The following query computes an approximation of the Mandelbrot Set and outputs the result as ASCII-art.

[…]

This next query solves a Sudoku puzzle.

[…]

The final answer is found by looking for a string with ind==0. If the original sudoku problem did not have a unique solution, then the query will return all possible solutions. If the original problem was unsolvable, then no rows will be returned.

Comments RSS · Twitter

Leave a Comment