... deliberate,
and so is the lack of reference to the ACID acronym.)
Superficial!──this is just an introduction. Forward references to
Chapters 15 and 16 .
3.9 The Suppliers-and-Parts DB
... is added to the
CELLAR table.
Copyright (c) 20 03 C. J. Date page 2. 3
both source and object form, in the dictionary). A
comprehensive dictionary will also include cross-r...
... C. J. Date
Copyright (c) 20 03 C. J. Date page fm.4
Part V : Further Topics
17 . Security
18 . Optimization
19 . Missing Information
20 . Type Inheritance
21 . Distributed Databases
22 . ... Databases
22 . Decision Support
23 . Temporal Databases
24 . Logic-Based Databases
Part VI : Objects, Relations, and XML
25 . Object Databases
26 . Object/Relational Da...
... CS_SC ;
EXEC SQL OPEN CJ ;
DO for all J rows accessible via CJ ;
EXEC SQL FETCH CJ INTO :CJ _J# , :CJ_JN, :CJ_JC ;
print CJ _J# , CJ_JN, CJ_JC ;
END DO ;
EXEC SQL CLOSE CJ ;
END DO ;
EXEC SQL ...
SELECT S.S#, S.SNAME, S.STATUS, S.CITY
FROM S
ORDER BY S# ;
EXEC SQL DECLARE CJ CURSOR FOR
SELECT J. J#, J. JNAME, J. CITY
FROM J
WHERE J. J# IN
( SELECT SPJ .J#
FROM SPJ...
... center of circle c */
a. OPERATOR DIAMETER ( C CIRCLE ) RETURNS LENGTH ;
RETURN ( 2 * THE_R ( C ) ) ;
END OPERATOR ;
OPERATOR CIRCUMFERENCE ( C CIRCLE ) RETURNS LENGTH ;
RETURN ( 3 .14 159 ... ( BB CARTESIAN, EE CARTESIAN ) NOT FINAL ;
5 .17 See Answer 4 .1 and Answer 5 .16 .
5 .18 No answer provided.
5 .19 See Section 5.7, subsection "Structured Types."...
... RESTRICT specification)
f. Accepted (project J4 and all shipments for project J4 are
deleted)
g. Accepted
h. Rejected (candidate key uniqueness violation)
Copyright (c) 20 03 C. J. Date page ...
usual conventions regarding the definition and naming of range
variables.
Copyright (c) 20 03 C. J. Date page 9 . 12
d. CONSTRAINT D
FORALL JX FORALL JY ( IF JX .J# =/...
... BY SPJ.S#, SPJ.P# ;
10 .18 .4 CREATE VIEW JC
AS SELECT J. J#, J. CITY
FROM J
WHERE J. J# IN ( SELECT SPJ .J#
FROM SPJ
WHERE SPJ.S# = S# ( 'S1' ) )
AND J. J# IN ( SELECT SPJ .J#
FROM ... have to face up to questions such as: Does
(e.g.) many -to- one mean a relationship that's inherently,
necessarily many -to- one, or does it mean one that just
happens to...
... can change the status for London from 20
to 30 by changing it once and for all in the relevant CS
tuple.
12 .3 1NF, 2NF, 3NF
Mostly self-explanatory. Another nice intuitive characterization ...
1. A → B
2. AB → C
3. D → AC
4. D → E
Now, 3 can be replaced by:
3. D → A and D → C
Next, 1 and 2 together imply that 2 can be replaced by:
2. A → C
But now...