Connect Procssing with Database

You might be interested in the SQL Library for Processing.

There are also interesting example sketches connected with the DB Manager for Processing (mentioned earlier):

Also see: