forked from SWI-Prolog/packages-cql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcql.doc
53 lines (39 loc) · 1.14 KB
/
cql.doc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
\documentclass[11pt]{article}
\usepackage{times}
\usepackage{pl}
\usepackage{plpage}
\usepackage{html}
\sloppy
\makeindex
\onefile
\htmloutput{.} % Output directory
\htmlmainfile{cql} % Main document file
\bodycolor{white} % Page colour
\renewcommand{\runningtitle}{Constraint Query Language}
\begin{document}
\title{Constraint Query Language\\
A high level interface to SQL databases}
\author{Mike Elston \\
Matt Lilley \\
E-Mail: [email protected]}
\maketitle
\begin{abstract}
CQL is a high level Prolog interface to SQL databases. It is inspired by
the work of Christoph Draxler \cite{Draxler:ALPUK91} in the sense that
SQL queries are generated but unlike Draxler's work, database tables are
not mapped to Prolog predicates, but database queries are described by
Prolog terms. These terms allow for accessing table columns by name and
provide access to several aspects of SQL that have no natural Prolog
equivalent, such as outer joins, inserts, etc.
\end{abstract}
\vfill
\pagebreak
\tableofcontents
\vfill
\vfill
\newpage
\input{cqldoc.tex}
\bibliographystyle{name}
\bibliography{pl}
\printindex
\end{document}