renamed the type name and constants.

enum SQLExistsMode ->
enum SQLSubQueryMode

This type will be used not only for (NOT) EXISTS sections, but also
for general sub queries. So it was changed to more generiec.