Query by Example (commonly shortened to QBE) is a database query language for relational databases. It was developed at IBM in the 1970s. The development of SQL ran in parallel. QBE was developed for those users who only use databases occasionally, and who do not want to learn a complex language such as SQL. 