SQL is a special purpose programming language, it does the job it was designed for very well, but cannot be used for anything else. The other languages you mention are general purpose programming languages, they can be used to program any task that can be rigorously defined.
Having said that, PL/SQL is mainly used for database work. It is essentially an extension of SQL. It is not a bad language, but is not designed for large and complex programs. I would not like to write a program more than a few hundred lines long in it.
Cobol was designed in the early 60s as a language for business purposes. Legend has it that one of the ideas behind it was to make a language that management could easily read -that idea did not work but it was for many years one of the most popular programming languages. I have never used it and never want to - it has some very awkward features, largely because it was designed when understanding of what made for a good programming language was in its infancy. Today people using have all sorts of sophisticated tools to help them write it and I'm told that as a result it is effectively a far better language than it used to be. I don't know how it is used with SQL.
C was originally designed to generate code which was as efficient as possible. It is possible to use it to delve into the depths of the computer - to access specific memory locations and easily manipulate individual bits. It proved very popular on microcomputers back when such machines were several thousand times slower than they are today and efficiency was vitally important. On the minus side, it has an awkward syntax that takes a lot of getting used to. There are 2 ways I know of to access SQL from C. One way is to use C's text handling features to construct SQL statements. This is clumsy, but C's text handling is very powerful. Another, easier, way is to use a tool that turns SQL statements into C code. It is then easy to embed SQL in the C program.
C has proven so popular that is has grown up and had children. C++ is a more powerful version of C. It is one of the most complex languages ever designed. It has many features which make it suitable for large projects.
Java is a kind of simplified C++ with the difficult bits left out. A lot easier to learn and easier to use.
Python, my favourite language, is one of the easiest programming languages to use. It sits on top of a program written in C - but can be used by people who cannot be bothered learning C. It runs 2 or 3 times slower than C, but modern machines are so fast that this often does not matter. And it is easy to mix in C code to speed it up if necessary.