Journal of the Korean Institute of Telematics and Electronics B (전자공학회논문지B)
- Volume 31B Issue 9
- /
- Pages.10-21
- /
- 1994
- /
- 1016-135X(pISSN)
The estended query-by-example supporting subqueries
부질의 기능을 추가한 확장된 Query-by-Example
Abstract
Query-by-Example(QBE) is high-level display-oriented databased manipulation language that provides a convenient and unified style for querying, updating, defining, and controling a relational database. QBE is relationally complete. However, lack of aubquery constructs limits th usability of QBE significantly. In particular, certain queries cannot be represented in one window. In this paper, we define a subquery box and extend QBE for subquery construction. The Extended QBE makes it possible to represent the queries that the QBE cannot do in one window, reducing the overhead and complexity of composing those queries. We also define the grammar of the Extended QBE and present the parsing techniques. Finally, we present an algorithm to transform the queries in Exteded QBE to those in SQL. The result of the transformation can be executed using dynamic SQL features of any SQL system. The proposed language has been implemented on OS/2 using the OS/2 EE Database Manager.
Keywords