Some of these languages are an excellent fit for specific problems. I still think an array based language is best for sql queries rather than set based. Any time you hear something like "select the first....", you don't want a set, you want an ordered list.
Plug: I wrote an open source version of q/kdb that runs on the JVM: https://github.com/timestored/jq
You can give it a try online in the browser here: http://www.timestored.com/jq/