Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: sudoku in an sql statement


  • From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
  • To: pgsql-general(at)postgresql(dot)org
  • Subject: Re: sudoku in an sql statement
  • Date: Sun, 01 Nov 2009 00:32:03 +0100
  • Message-id: <hcihdj$k5s$1@ger.gmane.org> <text/plain>

Merlin Moncure wrote on 31.10.2009 14:32:
an oracle guy wrote an sql statement that solves a sudoku
puzzle...using an oracle specific feature.  Still, it's pretty neat,
and an absolute gem of lateral thinking.

http://technology.amis.nl/blog/6404/oracle-rdbms-11gr2-solving-a-sudoku-using-recursive-subquery-factoring

merlin

There is also a DB2 version:
http://forums.devshed.com/db2-development-114/absolute-sudoku-solver-641065.html

That guy also wrote a statement to select prime numbers:
http://forums.devshed.com/db2-development-114/prime-numbers-in-plain-db2t-640347.html

and to solve equations:
http://forums.devshed.com/db2-development-114/equation-solver-plain-db2t-643752.html





Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group