Cypria is a language designed with complicated or nested SQL queries in mind. It utilizes functional constructs similar to those found in languages like OCaml to make those queries easier to understand and to write. Cypria interprets to SQL directly.
Currently under active development. Please check the language specs for now.