SQL on Rails. The screencast is worth watching:
Rails is a short-stack framework for developing database-contained web applications according to the Model-Model-Model pattern. From the Ajax in the model, to the request and response in the model, to the domain model wrapping the database, Rails gives you a pure-SQL development environment. Finally!