home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!dcatlas!joet
- From: joet@dcatlas.dot.gov (Joe Trott)
- Subject: Re: Query by example?
- Message-ID: <1992Nov20.211816.25166@dcatlas.dot.gov>
- Organization: U.S Dept. of Transportation
- References: <1992Nov19.222836.14028@delfin.com>
- Distribution: usa
- Date: Fri, 20 Nov 1992 21:18:16 GMT
- Lines: 30
-
- gary@delfin.com (Gary Bartow) writes:
-
- >I just heard the phrase "Query By Example" and was wondering if anyone knew
- what it was all about. It seems to be a technique to help users form their
- queries more precisely.
-
- Basically, Query-By-Example lets users type in examples of the data they
- are trying to find. In a procedural language, for example, a query is
- more like a programming statement, e.g.:
-
- print report2 where state eq "MD" and zipcode ne "212*" and amount ge 12500
-
- In QBE, a table or even a user defined form appears, and the user directly
- types in his criteria in the appropriate fields, e.g. "MD" in state,
- NOT "212*" in zipcode, and >12500 in amount.
-
- (This was a simple example; they can get more complex, but you see how much
- easier QBE can be to the typical non-programming (l)user)
-
- It isn't really a matter of precision, but one of ease, however something
- that is easier will presumably produce less mistakes, so maybe it *is* more
- precise sometimes.
-
- By the way, please break your lines at somewhere around 72 characters. Joke
- editors like VI that don't have reasonable cursor movement keys are difficult
- to use on such messages; the screen shows multiple lines, but VI just beeps
- at any attempt to move DOWN :(.
-
- -JTT
-
-