Query-by-Example
QBE — A visual query language where you sketch sample values directly in a table grid to specify which rows you want, instead of writing declarative SQL.
IBM researcher Moshe Zloof launched QBE in 1975 as an alternative to relational algebra. You wrote an example of what columns you wanted to see: drew a grid, typed values and operators into cells. Special markers (P. for "print", G. for "group") indicated which rows should be grouped together. It felt intuitive for single-table queries — but multi-table joins quickly became messy.
QBE inspired later visual query builders in Microsoft Access and other GUI tools. It never fully disappeared, but SQL dominated by the 1980s — it was easier to write and teach.