Function (cont’d)
returning empty stream, 4–42
SUBSTRING, 4–46
TRANSLATE, 4–52
TRIM, 4–47
UPPER, 4–51
G
Greater than operator (>), 4–18
Greater than or equal to operator (>=), 4–18
GROUP BY clause, 4–53, 4–56
H
HAVING clause, 4–56, 6–4
HELP statement, 1–3, 2–3
I
IGNORE CASE keyword, 4–28, 4–29
Implicit join, 4–61
Indexes
displaying, 3–4
Indirect command file
SQL, 2–6
Initialization file
for interactive SQL, 1–9, 2–9
Inner join, 4–64
IN predicate, 4–23, 4–24e, 6–14
INSERT statement, 5–3e
conversion of data type when inserting data,
5–15
copying data from another table, 5–10e
inserting a calculated value, 5–11e
specifying NULL value, 5–9e
Interactive SQL
editing statement, 1–5, 2–5
exiting, 1–3, 2–3
getting started with, 1–1, 2–1
invoking on Digital UNIX, 2–3
invoking with DCL symbol, 1–2
setting up environment, 1–9, 2–9
Interactive SQL command procedure, 1–6
Interactive SQL indirect command file, 2–6
INTERVAL data type, 8–10
addition, 8–12e
formats, 8–1t, 8–8e
literal format, 8–11e
using SUM function with, 8–17e
using to define a column, 8–10e
using with DATE data type, 8–12e
IS NOT NULL predicate, 4–34
IS NULL predicate, 4–21, 4–31
J
Join, 4–58
equijoin, 4–60t
implicit, 4–61
inner, 4–64e
natural, 4–60t, 4–64e, 6–22
outer, 6–22
types of, 4–60t
Joining more than two tables, 4–67e
Joining tables, 4–58, 4–62e
answering reflexive questions, 4–70
in a multischema database, 7–15
using a table as a bridge, 4–68
using explicit join syntax, 4–64, 6–24e
using implicit join syntax, 4–61
JULIAN keyword, 8–13
L
Leading characters
removing, 4–47
Less than operator (<), 4–18
Less than or equal to operator (<=), 4–18
LIKE predicate, 4–27, 4–29t
LIMIT TO clause, 4–15, 4–16e, 6–16e
Logical name
SQL$DATABASE, 1–6
SQL$EDIT, 1–7
SQLINI, 1–9
login.com file
including symbol for interactive SQL, 1–2
logical name to include in, 1–9
Index–4