What Is Nonprocedural Language?
Nonprocedural language allows the programmer to focus on what to do rather than how to do it. This is because this language does not focus as much on individual processes needed to get to the conclusion but rather on ways to get to the conclusion itself. This is why nonprocedural language is often referred to as a "declarative language."
Most of the time, nonprocedural language is considered a fourth-generation language. Also represented as 4GL, fourth-generation language differs from third-generation language since that's procedural. Both 3GL and 4GL are regularly used in programming. An example of 4GL nonprocedural language is structured query language, or SQL.