Eclipse is an Open-Source IDE that will run Java (as default), C++, C#, and other languages. It is mainly intended as a Java development platform, so is optimized for its use. However, the C++ package is acceptable, if not as advanced as some of the other C++ IDE's. There is support for other languages; these are the few that I've used with Eclipse. I know there is a SQL import for Eclipse, but have no idea of where it can be found.
The main package can be found here: http://www.eclipse.org .