To many programmers, SQL is a bit of a beast. It is one of the few *declarative languages* out there, and as such, behaves in entirely different ways from...
B. Elliott, E. Cheng, C. Thomas-Ogbuji, and Z. Ozsoyoglu. Proceedings of the 2009 International Database Engineering & Applications Symposium, page 31--42. New York, NY, USA, ACM, (2009)
A. Freitas. Genetic Programming 1997: Proceedings of the Second
Annual Conference, page 96--101. Stanford University, CA, USA, Morgan Kaufmann, (13-16 July 1997)
B. Howe, G. Cole, N. Khoussainova, and L. Battle. Proceedings of the 2011 ACM SIGMOD International Conference on Management of data, page 1319--1322. New York, NY, USA, ACM, (2011)