A powerful query language (see note 199 on
TaQL) makes it possible to
select arbitrary subsets of a table. TaQL resembles SQL, but lacks joins.
However, it supports subqueries and moreover all its functions
work on arrays as well.
It is important to note that the result of a selection and sort is a table
in itself which references the original data (i.e. shallow copy).
So changing the data in a
selection changes the original data. This is regarded as being very useful.
There is a function available to turn a selection into a deep copy.
Note that TaQL can also be used for doing queries on in-memory objects.
This is used in the ACSIS system to make a selection from a set of
Record objects.