Human factors comparison of a procedural and a nonprocedural query language

Charles Welty, David Stemple

ACM Transactions on Database Systems · 1981 · 159 citations · 35 references

DOIFull text

Open access

Concepts

TL;DR

SQL and TABLET differ mainly in procedurality, share the relational data model and have similar Halstead complexity, with identical non‑procedural constructs. Two experiments were conducted in which subjects learned SQL and TABLET from identical manuals and then wrote queries to assess their performance. Subjects using the more procedural SQL performed better on difficult queries, and the data were used to compare constructs and suggest improvements.

Abstract

Two experiments testing the ability of subjects to write queries in two different query languages were run. The two languages, SQL and TABLET, differ primarily in their procedurality; both languages use the relational data model, and their Halstead levels are similar. Constructs in the languages which do not affect their procedurality are identical. The two languages were learned by the experimental subjects almost exclusively from manuals presenting the same examples and problems ordered identically for both languages. The results of the experiments show that subjects using the more procedural language wrote difficult queries better than subjects using the less procedural language. The results of the experiments are also used to compare corresponding constructs in the two languages and to recommend improvements for these constructs.

References

35