Often abbreviated 4GL, fourth-generation languages are programming languages closer to human languages than typical high-level programming languages. Most 4GLs are used to access databases. For example, a typical 4GL command is
FIND ALL RECORDS WHERE NAME IS SMITH
The other three generations of computer languages are
First generation: machine language.
Second generation: assembly language.
Third generation: high-level programming language.