-
公开(公告)号:BR8805543A
公开(公告)日:1989-07-11
申请号:BR8805543
申请日:1988-10-27
Applicant: IBM
Inventor: HERNANDEZ IRENE HERNANDEZ , OGDEN WILLIAM CRAIG , SORDI JOSEPH JOHN
-
公开(公告)号:DE3485396D1
公开(公告)日:1992-02-13
申请号:DE3485396
申请日:1984-01-11
Applicant: IBM
Inventor: SHAW PHILIP SIDELL , SORDI JOSEPH JOHN , TRAIGER IRVING LAWRENCE
Abstract: A linear query for accessing a relation data base in computer storage is synthesized from a graphic query input at a user terminal. The graphic query may be one of a combined print query, a target print query, an insert query, a delete query, or an update query. According to one embodiment, the linearquery is expressed in Structured Query Language (SQL) syntax, and the graphic query in Query By Example (QBE) syntax. responsive to a QBE combined print query or target print query, an SQL select query is generated (170-190) comprising the UNION of one or more generated select statements. Responsive to a QBE delete query, an SQL delete query is generated (192-202) from the logical OR of generated condition statements including an outer query DELETE and a SELECT* subquery. Responsive to a QBE update query, an SQL update query is generated (204-214) including a SET clause and any generated WHERE clause and subquery. Responsive to a QBE insert query, an SQL insert query is generated (216-226) to include an INSERT statement and any generated SELECT statement.
-