dBase programming language
From Just Solve the File Format Problem
The popular dBase database (most popular in the PC platform, but also available for other platforms including CP/M and the Apple II) included a built-in programming language for creating and accessing databases, but sufficiently functional to permit entire application programs to be created in it. In the 1980s and early 1990s, many specialized business applications were created under it (or "clones" like Clipper and FoxPro), but it ultimately went out of favor as SQL-based databases became the new standard.
Originally by Ashton-Tate, dBase was ultimately acquired by Borland.
The dBase language includes a format for database queries, as well as formatting of forms for input/output, and procedural programming constructs.