{"id":{"repo_id":"nps","oai_identifier":"oai:calhoun.nps.edu:10945/30910"},"canonical_url":"https://search.ndltd.org/etd/nps/oai:calhoun.nps.edu:10945/30910","repository":{"repo_id":"nps","name":"Naval Postgraduate School","base_url":"https://calhoun.nps.edu/server/oai/request"},"display":{"title":"The comparison of SQL, QBE, and DFQL as query languages for relational databases","abstract":"Structure Query Language (SQL) and Query By Example (QBE) are the most widely used query languages for Relational Database Management Systems (RDBMS's). However, both of them have problems concerning ease-of-use issues, especially in expressing universal quantification, specifying complex nested queries, and flexibility and consistency in specifying queries with respect to data retrieval. To alleviate these problems, a new query language called 'DataFlow Query Language' (DFQL) was proposed. This thesis investigates the relative strengths and weaknesses of these three languages. We divide queries into four categories: single-value, set-value, statistical result, and set-count value. In each category, a representative set of queries from each language is specified and compared. Some of the queries specified are logical extensions of the other (already defined) queries, which are used to analyze the query languages' flexibility and consistency in formulating logically related queries. We perform a simple experiment of asking NPS CS students to write a small set of queries in all three languages. Based on the analysis, we conclude that DFQL eliminates the problems of SQL and QBE mentioned above. The relative strengths of DFQL comes mainly from its strict adherence to relational algebra and dataflow-based visuality.","abstract_html":"Structure Query Language (SQL) and Query By Example (QBE) are the most widely used query languages for Relational Database Management Systems (RDBMS&#x27;s). However, both of them have problems concerning ease-of-use issues, especially in expressing universal quantification, specifying complex nested queries, and flexibility and consistency in specifying queries with respect to data retrieval. To alleviate these problems, a new query language called &#x27;DataFlow Query Language&#x27; (DFQL) was proposed. This thesis investigates the relative strengths and weaknesses of these three languages. We divide queries into four categories: single-value, set-value, statistical result, and set-count value. In each category, a representative set of queries from each language is specified and compared. Some of the queries specified are logical extensions of the other (already defined) queries, which are used to analyze the query languages&#x27; flexibility and consistency in formulating logically related queries. We perform a simple experiment of asking NPS CS students to write a small set of queries in all three languages. Based on the analysis, we conclude that DFQL eliminates the problems of SQL and QBE mentioned above. The relative strengths of DFQL comes mainly from its strict adherence to relational algebra and dataflow-based visuality.","abstract_has_math":false,"creators":["Girsang, Paruntungan"],"institution":"Monterey, CA; Naval Postgraduate School","degree_name":"M.S. in Computer Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Wu, C. Thomas"],"committee_chairs":[],"committee_members":["NA"],"year":1994,"date_issued":"1994-03","date_published":"1994-03","updated_at":"2026-11-26T00:09:51Z","subjects":[],"languages":[],"rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10945/30910","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10945/30910","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Anps%3Aoai%3Acalhoun.nps.edu%3A10945%2F30910","prefix":"oai_dc"},"source_record":{"url":"https://calhoun.nps.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Acalhoun.nps.edu%3A10945%2F30910","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Wu, C. Thomas"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["NA"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["NA"]},{"key":"dc:creator","label":"Author","values":["Girsang, Paruntungan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["March, 1994"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2013-04-26T18:59:51Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2013-04-26T18:59:51Z"]},{"key":"dc:date.issued","label":"Date","values":["1994-03"]},{"key":"dc:publisher","label":"Institution","values":["Monterey, CA; Naval Postgraduate School"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["M.S. in Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["Naval Postgraduate School"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject.keyword","label":"Dc Subject Keyword","values":["NA"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:rights","label":"Dc Rights","values":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10945/30910"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Structure Query Language (SQL) and Query By Example (QBE) are the most widely used query languages for Relational Database Management Systems (RDBMS's). However, both of them have problems concerning ease-of-use issues, especially in expressing universal quantification, specifying complex nested queries, and flexibility and consistency in specifying queries with respect to data retrieval. To alleviate these problems, a new query language called 'DataFlow Query Language' (DFQL) was proposed. This thesis investigates the relative strengths and weaknesses of these three languages. We divide queries into four categories: single-value, set-value, statistical result, and set-count value. In each category, a representative set of queries from each language is specified and compared. Some of the queries specified are logical extensions of the other (already defined) queries, which are used to analyze the query languages' flexibility and consistency in formulating logically related queries. We perform a simple experiment of asking NPS CS students to write a small set of queries in all three languages. Based on the analysis, we conclude that DFQL eliminates the problems of SQL and QBE mentioned above. The relative strengths of DFQL comes mainly from its strict adherence to relational algebra and dataflow-based visuality."]},{"key":"dc:description.award","label":"Dc Description Award","values":["NA"]},{"key":"dc:description.sponsorship","label":"Dc Description Sponsorship","values":["NA"]},{"key":"dc:description.uri","label":"Dc Description URI","values":["http://archive.org/details/thecomparisonofs1094530910"]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["129 p.;28 cm."]},{"key":"dc:title","label":"Title","values":["The comparison of SQL, QBE, and DFQL as query languages for relational databases"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"local:contributor.affiliation","label":"Local Contributor Affiliation","values":["Indonesian Navy author."]}]}],"canonical_facts":{"dc:contributor.advisor":["Wu, C. Thomas"],"dc:contributor.committeemember":["NA"],"dc:contributor.department":["Computer Science"],"dc:contributor.other":["NA"],"dc:creator":["Girsang, Paruntungan"],"dc:date":["March, 1994"],"dc:date.accessioned":["2013-04-26T18:59:51Z"],"dc:date.available":["2013-04-26T18:59:51Z"],"dc:date.issued":["1994-03"],"dc:description.abstract":["Structure Query Language (SQL) and Query By Example (QBE) are the most widely used query languages for Relational Database Management Systems (RDBMS's). However, both of them have problems concerning ease-of-use issues, especially in expressing universal quantification, specifying complex nested queries, and flexibility and consistency in specifying queries with respect to data retrieval. To alleviate these problems, a new query language called 'DataFlow Query Language' (DFQL) was proposed. This thesis investigates the relative strengths and weaknesses of these three languages. We divide queries into four categories: single-value, set-value, statistical result, and set-count value. In each category, a representative set of queries from each language is specified and compared. Some of the queries specified are logical extensions of the other (already defined) queries, which are used to analyze the query languages' flexibility and consistency in formulating logically related queries. We perform a simple experiment of asking NPS CS students to write a small set of queries in all three languages. Based on the analysis, we conclude that DFQL eliminates the problems of SQL and QBE mentioned above. The relative strengths of DFQL comes mainly from its strict adherence to relational algebra and dataflow-based visuality."],"dc:description.award":["NA"],"dc:description.sponsorship":["NA"],"dc:description.uri":["http://archive.org/details/thecomparisonofs1094530910"],"dc:format.extent":["129 p.;28 cm."],"dc:identifier.uri":["https://hdl.handle.net/10945/30910"],"dc:publisher":["Monterey, CA; Naval Postgraduate School"],"dc:rights":["This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States."],"dc:subject.keyword":["NA"],"dc:title":["The comparison of SQL, QBE, and DFQL as query languages for relational databases"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"local:contributor.affiliation":["Indonesian Navy author."],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["M.S. in Computer Science"],"thesis:institution_name":["Naval Postgraduate School"]},"updated_at":"2026-11-26T00:09:51Z"}