~ ~I~ LSJ~' LSo J4J~ -A. o5.:j ~ l;."..aj' - V. I..;-'p. L.?lyb w~~,-, llbjl.o,-6. l5 j)~.b:1 3) '-r. J~~ 4 ~IJ LSUb~~lii'-' ~I.
|
|
- Lillian Stevenson
- 6 years ago
- Views:
Transcription
1 J~~ 4 ~IJ LSUb~~lii'-' ~ LS~ J~ LS~IJ-r ~I.,b LSoJ4J~-r ls""' L.J J.> I ya,-, I..;-'p. L.?lyb w~~,-, ~o~ ~I~ jl4$?la>jli.o-f LSI~IJ ~-!:J ~~ U01p.'-6 llb~ ~ls' l5<u:~,-6 llbjl.o,-6 ~. ~ l5 11bJL.of- 6 LSI~IJ yl.w.>-r l5 j)~.b:1 3) '-r ~JL.o' -r- ~.~ l5~jl.o,-r- I I o5.:j ~ l;."..aj' - V ~....I-- ~~.r... U)~'-V 151~1) r.:::- )~ ~4. ' -V 151~1) ~L> )~ ~4.'-V ~ ~I~ LSJ~' LSo J4J~ -A ~. ~. ~ ~)J J ;// JV) -q
2 @- course(1) Relations vs. Tables For purposes of reference, we present in this subsection a list of some of the main differences between (a) the formal object that is a relation as such and (b) the informal object th at is a table. which is an informal picture on paper of that formal object: l. Each attribute in the heading of a relation involves a type name, but those type names are usually omitted from tabular pictures. 2. Each component of each tuple in the body of a relation involves a type name and an attribute name, but those type and attribute names are usually omitted from tabular pictures. 3. Each attribute value in each tuple in the body of a relation is a value of the applicable type, but those values are usually shown in some abbreviated form-for example, 5 I instead of 5#('5 l')-in tabular pictures. 4. The columns of a table have a left-to-right ordering, but the attributes of a relati on do nol. Note: One implication of this point is that columns might have duplicate names, or even no names at all. For example, consider this 5QL query: SE LECT S.CITY, S.STATUS * 2, P.CITY S, P ; What arc the column names in the result of this query? 5. The rows of a table have a top-to-bottom ordering, but the tuples of a relation do not. 6. A table might contain duplicate rows, but a relation does not contain duplicate tuples. The foregoing is not an exhaustive list of the differences. Others include: The fact that tables are usually regarded as having at least one column, while relations are not required to have at least one attribute (see the subsection "Relations with No Attributes" later in this section) The fact that tables-at least in 5QL-are allowed to include nulls, while relations are certainly not (see Chapter 19) The fact that tables are "flat" or two-dimensional, while relations are n-dimensional (see Chapter 22) It follow s from all of the foregoing that, in order to agree t~at a tabular picture can properly be regarded as representing a relation, we have to agree o~ how to "read " such a picture; in other words, we have to agree on certain rules of inter~retation for such pictures. To be specific, we have to agree that there is an underlying type for each column; that each attribute value is a value of the relevant type; that row and column orderings are irrelevant; and that duplicate rows are not allowed. If we can agree on all of these rules of interpretation, then-and only then-we can agree that a table is a reasonable picture of a relation. 50 we can now see that a tabl e and a relation are indeed not quite the same thing (even though it is often convenient to pretend they arc). Rather, a relation is what the definition says it is, a rather abstract kind of object, and a table is a concrete picture, typically on T-i j/& TE Of
3 paper, of such an (lhstract object. Thcy are not (to repeat) quite the same. Of course. they are very similar... and in infonnal contexts, at least, it is usual, and perfectly acceptable, to say they are the same. But when we are trying to be precise-and right now we are trying to be precise-then we do have to recognize that the two concepts are not exactly identical.. -' That said, it i's worth pointing out too that in fact it is a major advantage of the relational mode(that its basic abstract object, the relation, does have such a simple representat~on on paper. \t1s that simple representation that makes relational systems easy to use and easy to understand, and makes it easy to reason about the way relational systems behave. t Nevertheless, it is unfortunately also the case that that simple representation does suggest some things that are not true (e.g., that there is a top-to-bottom tuple ordering). Relations with No Attributes Every relation has a set of attributes; and, since the empty set is certainly a se~, it follows that it must be possible for a relation to have the empty set of att~butes, or in other words no attributes at all. (Do not be confused: We often talk about "empty relations," meaning relations whose body is an empty set of tuples, but here, by contra'st, we \lf~ talking about relations whose heading is an empty set of attributes.) Thus, relations with no attributes are at least respectable from a mathematical point of view. What is perhaps more surprising is that they turn out to be extremely important from a pnictical point of view as well! In order to examine this notion more closely, we first need to consider the question of whether a re lation with no attributes can contain any tuples. The answer (again perhaps surprisingly) is yes. To be more specific, such a relation can contain at most one tuple: namely, the O-tuple (i.e., the tuple with no components; it cannot contain more than one such tuple, because all O-tuples are duplicates of one another). There are thus precisely two relations of degree zero--one that contains just one tuple, and one that contains no tuples at all. So important are these two relations that, following Darwen [6.5], we have pet names for them: We call the first TABLE_DEE and the other TABLE_DUM, or DEE and-dum for short (DEE is the one with one tuple, DUM is the empty one). Note: It is hard to d.r1i~ pictures of these relations! Thinking of relations as conventional tables breaks down\ somewhat, in the case of DEE and DUM. Why are DEE and DUM so important? There are several more or less interrelated ) answers to this question. One is that they playa role in the relational algebra-see Chapi ter 7-that is akin, somewhat, to the role played by the empty set in set theory or zero in ordinary arithmetic. Another has to do with what the relations mean (see reference 16.5]): essentially, DEE means TRUE, or yes, and DUM means FALSE, or 110. In other words, they have the most fundamental meanings of all. (A good way to remember ~hich is which is that the "E"s in DEE match the "e" in yes.) In Thtorial D, the expressions TABLE_DEE and TABLE_DUM can be used as shorthand for the relation selector invocations and RELATION { } { TUPLE { } } RELATION { } { } respectively. It is not possible to go into more detail on this topic at this juncture; suffice it to say that you will encounter DEE and DUM many times in the pages ahead. For further discussion, see reference [6.5].
4 CREATE DOMAIN domain-name datatype [default-definition] [domain-constraint-definition-list] J~ CREATE DOMAIN DEGREE CHAR(3) DEFAULT '???' CONSTRAINT VALID-DEGREES CHECK VALUE IN ('bs','ms','doc','???') " I. t.:.1" ~.....) J~.. ~)~ CREATE ASSERTION constraint-name [BEFORE COMMIT I AFTER{INSERTIDELETEIUPDATE[OF(column-name)]} ON table.-name... ] CHECK condition(s) [FOR [EACH ROW OF] table-name]
5 CREATE ASSERTION GRADECHECK BEFORE INSERT ON STCOT CHECK (O~GRADE~20); CREATE ASSERTION BFDA CHECK (NOT EXISTS (SELECT * R GROUP BY A HAVING MAX (B) j MIN (B)));...::...1 J>~;"" R (A, B, (, D) L5~I) : f J~ CREATE ASSERTION K CHECK (NOT EXISTS (SELECT * R A = B AND C j D)); :fj~ CREATE ASSERTION C CHECK (( SELECT COUNT ( * ) ( (SELECT STID STT STDEID = (SELECT STID STCOT COlD 'D11') EXCEPT, C 11 ' )) AS N) 0) ; CREATE ASSERTION A CHECK (NOT EXISTS (SELECT * STT STJ = 'comp' AND NOT EXISTS (SELECT * STCOT STCOT.STID = STT.STID AND STCOT.COID = 'C12'))); ----
6 CREATE TR1GGER -name {BEFORE I AFTER I INSTEAD OF } { INSERT I DELETE I UPDATE OF Column } ON Table name [ORDER value) (REFERENCING {NEW I OLD I NEW- TABLE I OLD- TABLE} AS name) {WHEN Condition (n)) (SQL 3 Procedure (FOR EACH (ROW I STATEMENT})) : f'o"'..;-:f l.5" yb ).:J I),I j,a> \,)j-::-o,..i..:..a)ls' w~ LS,l> ~I) : I J t!l. EMPREL (EMPlD, EMPNAME,..., EMPSAL) C.K. u-.:.i)"'..j L5L.;La,)... ~~~ J.tblS' o~.l.:...o)5" j,a>" :..: ~.;k.:j)}-" ~.:J,...I..:><..o :.J..:S ts" JL...:II) ~.:J,...I..:><..o CREATE TRIGGER EMPREL- UPDATE- TRIG BEFORE UPDATE OF EMPSAL ON EMPREL RC;'ERE~CING OLD AS OEMPREL, NEW AS NEMPREL, (WHEN OEMPREL.EMPSAL> NEMPREL. EMPSAL SIGNAL. SQ L State ' 7005' ('salary can not be decreased') FOR EACH ROW).; : ~).) ~ I))"'..j ~I), EMPREL ~I) r. o,':>k ~ts" uo} j~ Lr-I).:J. =t' J L!. / - I EMPSALAUG ( EMPID,AUGM). C. K....::...,1.l.:...o)1.) j~ ~I}I )..u..o AUGM ~..J..:StS" ~ L5jL., 1"4. ~) ~ I) o~4 L5ld.:J L5)tfjL.,)"'..j LSL.;La,) CREATE TRIGGER DBUPDATETRIG AFTER UPDATE OF EMPSAL ON EMPREL REFERENCING OLD AS OEMPREL, NEW A S NEMPREL (UPDATE EMPSALAUG SET AUGM = AUGM + NEMPREL.EMPSAL - OEMPREL.EMPSAL EMPSALAUG.EMPID = EMPREL.EMPID FOR EACH ROW) ; : ~,}-O )"'..j LSLa,~I)...::...,1 [ELMA 2000] jl Q yf r. Jl:... Lr-I : r J d. EMPLOYEE (NAME, SSN, SALARY, DNO, SUPERVISOR - SSN) DEPARTMENT (DNAME, DNO, TOTAL-SAL, MANAGER-SSN) (a) Rl : CREATE TRIGGER TOTALSALl AFTER INSERT ON EMPLOYEE FOR EACH ROW WHEN (NEW.DNO IS NOT NULL) UPDATE DEPARTMENT SET TOTAL_SAL = TOTAL_SAL + NEW.SALARY
7 R2: CREATE TRIGGER TOTALSAL2 AFTER UPDATE OF SALARY ON EMPLOYEE FOR EACH ROW WHEN (NEW.DNO IS NOT NULL) UPDATE DEPARTMENT SET TOTAL_SAL = TOTAL_SAL + NEW.SALARY- OLD.SALARY DNO = NEW.DNO ; R3 : CREATE TRIGGER TOTALSAL3 AFTER UPDATE OF DNO ON EMPLOYEE FOR EACH ROW BEGIN UPDATE DEPARTMENT SET TOTAL_SAL = TOTAL_SAL + NEW.SALARY DNO = NEW.DNO ; UPDATE DEPARTMENT SET TOT.\L_SAL = TOTAL_SAL - OLD.SALARY DNO = OLD.DNO ; END; IN : CREATE TRIGGER TOTALSAL 4 AFTER DELETE ON EMPLOYEE FOR EACH ROW WHEN (OLD.DNu IS NOT NULL) UPDATE DEPARTMENT SET TOTAL_SAL = TOTAL_SAL - OLD.SALARY DNO = OLD.DNO ; (b) RS: CREATE TRIGGER INFORM_SUPERVISORI BEFORE ii'~sert ON EMPLOYEE FOR EACH ROW WHEN OR UPDATE OF SALARY, SUPERVISOR_SSN, - (NEW. SALARY > (SELECT SALARY (ROM EMPLOYEE SSN = NEW.SUPERVISOR_SSN)) INFORM_SUPERVISOR (NEW.SUPERVISOR_SSN, NEW.SSN) ;
8 , \ ~ ~ ::) ~~4lj J(j. J - / [0)); o'.f ~ /) ~.) )).:::;;~/.> L ~.1,>/~ ~.. ;, ~, 0,1;: : ~.(,~~~/~ v::,-> ~Uo~,,4~ "3 t. C.r grid;j SIN /THE J floe&- J ~r )E IO F f}1'1 S7r, I WHE/tE <srhi~= C~fi ; I - / () 1// I. I \ ~ l! // 'STI ((~ ~J//.) I ~ (j-> to) )0 b;"' ~./.> ~..:> ~/ /~ ~ ~ AJDJ/ ~/./) - ) //cr.)/)~ \I 1/)) tv ~/)~ 'I L..:',. /) ~/, r ~-r/vtji? '"... ~)~ ' -~ - -? ~ - II' /}. ~ )- j~ Uh~ ~/. r V.}-J.)/J~~/~/.> ~ ~~ \'c~/t '/ O)v<j-:/~" -? :(;::-;J"':u ~ OJ ~J ~' L.,/ ;,) Pi'~)-( - >,::j~jj- )/oj;/ ~... -> C f-fr9;c Tit! G-G fr- rt(jtj:/. ItJ BT /)1? Of IN'fEte.! ON -V (? FJ?;eEtvCING NEvi /tow;9'3 ;e Fo;e E/lC# f(r;v/ rtjg E~T t"nt(l r r r V ill lie ~ ( re. ~ T:!P,I /C... ~T,;..M?r1E.1 te.. g1/je ~ JO,~f.. I, R CSIl JE1P ). I / / ;; - L.//- j <- '}<j9j yt1 y' b3 f D/~ > > ~ ( ~~ ;?' t,/)r ~ i! ~ -~ ~}/tr <577- ~ / ",,,,) -t.)j}-. (: /.).;J~,V ~.)/) < J'" S t., ".b j,r -' " CCJrrK~ ' 1 D t.9 > '~,AP>J.T/)~..J (V ::) /)<-1 J;.f~/.) ( _/)~ J&~ ~/~..:' I?,- CREATE TRIGGER STCOTITRIG. BEFORE INSERT ON STCOT REFERENCING NEW AS NSTCOT CREATE TRIGGER COTDELTRIG BEFORE DELETE ON COT REFERENCING OLD AS OLCO (DELETE STCOT STCOT.COID = OLCO.COLD FOR EACH ROW) ; :?'J~II! (WHEN (NOT EXISTS (SELECT * COT COT.COID = NSTCOT. COID)) C.L0JL~- ' J (;:. ':i J/.) ~ ->/(f'j~l c/> y./> AB ORT TRANSACTION FOR EACH ROW );
9 Fof( EI7Cfl ~i.4r!1ent J.J.,' \. 1/. I? j". j' /,./.) L;. / L. \.J'D./..-1.1,,; /' oar'"' 0) ;) --'..>-'~ (~ ;J~./ I V --:. -. "/,/) - I.,/ FOR E/lcH STI9TE MENT ~/;_~~'i-! V~ C/(lf4 c? /) C,,.(L/)!; if (t..,/ r~ wj _AJ>.> \ ~ r ~ ) CREt9TE -r121&&-[:1( /1VSI)L-r~Ir;. A F TF~ UPO/)TF OF Es;:;L o/v Er1pL. f?- E FE ;e r IV.. 1 N G OLD /('3 OEM" PL.~. Fait FACH '5 rt9t Et1 [NT NEW Ag N~MPL WI-!- EN '01-' > ( SE.Lf ct IfVG (E ss/)l ) FR-r; M (3.l'1pL) 8E&lN o E L E ri~'" F(( 0/'1 E t1 pi. WHEf( ( EMrD,ENfiME,... ~ (/08, ~ ~I)L) IN NEr1pL; ENO i INt3E~T INTO FMPL I ~EL r CT * fteor/ OEI\1pL ;
10 JJ~ I/~ -?' ~?c.r/7-f Hs = {B"B 2,,BJ HT = {C"C 2,,C n }..:.r..1 j;)...t...::. d.i: ::.,.t...i...o ~ ~ ~.; ~ rails J q Ails 'PAIlS.J.l:...-.o r, q f : ~ ~.} :r.;.j...l:...!.~ 1) O"pl\qM(R) = O"p(O"q (O"r (R»..::.,.u..., ji ~ ~,.S:... Js:...y..N.JM 2.M I.L 3,L 2,L I.J...J.:...:.~ u...l:...,. :[CONN2002]..t;)]r. tsl ~IJ.r.:- LSLt. ~ j;) J'~ LJ""'1y>- 5) R r>.<j p S = S t><j p R RxS=SxR 6) 0- p (R r>-<j r S) = (0- p (R) C>-<J r S) O"p(R x S) = (0" p(r»x S 7) o-pl\q(r C>-<lr S) = (0- per) C>«]r O"q(S)) 0" pl\q (R x S) = (0-p (R) x 0" q (S))
11 .L r.::.k r- j.) J ~~ Hs ji ~l,w. J-L.:..h.O L2 J H R ji ~li,p J-L.:..b.A..; L) :6 ~ r- ~...l..!.~ ci j jl5" ~ L) U L2 ji ~l,w..h.o...:.-1 /i.r. ;,;. S..,R 0-' -Y jl5" ~.rp ~l>- j.) ~\.;.:. j: I ~ ~ ')\.;..A,..t.:.~ ci j jl5" ~ L) U L2 ul,w. ji [.j\.;.:. c.s~.) ul,w..l.r.::.k.r- j.) }'I Lei Hs ji ~li,p ~L.:..h.O M2 J HR ji ~ll,., J-L.:..h.O M( 4$ c.s~ ~M( U M2 ull,., :Uj..rP j:1 j.)..l..!.~ IT<L,UL..z> (R [>.<]r S) = I1<L, UL..z > (I1<L,UM 1 > (R» t>-<lr ([J<L,UM 2 > (S» 9) (R t>-<l S)!>«l T = R C>-<l (S [><] T) (RxS)xT=Rx(SxT)...:.-1 ~ ~.r.:: ~ j)2:.. ~I.J.)!~ Y :r-'~b Uj~ j:1 j.)..l..!.~ HT J Hs ji ~ll,., ~L.:. ~ ~ '.L~.k.r- }"I (R t>-<l p S) C>-<l qm T = R r><j pm (S [>«J q T) 10) RUS = SUR RnS=SnR 11) O'p(RUS) = O'p(S)Uap(R) 0' p (R n S) = 0' p (S) n 0' p (R) a p (R-- S) = a p (R) - a p (S) 12) IT<L> (R U S) = IT<.> (S) U IT<L> (R) 13) (R US) U T = S U (R U T) (R n S) n T = S n (R n T). MIN UJ.. X TrMES ':..J '~)/VV::J I!>L..!_ Y () : rte ~T )t1.c. r on' PROd ECT o U : UNT on
12 n< 5N,4.a(,,J 9f'f' :/'Z' ~ S P l><l '3 ~ -./ - 0" ~ - / - /.. 1/.. /-. )' D. A-J ~ ~ --" ~/ rdv -::! J'J~,J jtap ~ jt" (5 '6'v:7 (''''. '\ 2.. ((( p ~ LC'Lo[{ =-'U') 'J OZ,v s p )['3#] (JOUJ g )rs#t9i'/e] : ;:.r;.rj' J/ ~ Wv (C/"'3'/I')/dJlf:Jr-j' (r : 'Q 3 (( ~p[ 5#-;?'p#] DIVIPE 8Y -P[f'#J) JOIN' g )[~N#I1E] /. ;Jif'~)/ \~;.1v;-D":/~=-~(/'--jl-"" "~/I'J/d~':Y.A::' : ttj~ ~P[~#-/I1i-] PZVZOE 8/ ('5r~!5tfc'.s {) [p#] / -- "- / I -,-/ j, IP /-. r ',~fi'"~)/~ ~,.J~(V/db Q~( :Qi. (( 'S [ 'S 11 J t1.rrjvs ( g r tahv- f'~ =~ ~)[g#] );:JOIIJ3)[stIHlI~ 1) [3. X T EN [:) g /1 P P "<$u/<jz0-it / /1q, T/J G. :z..) #' EXT'NP~ (EXTEAlD S /?Pp cz 1/ /lrs <S CLT/ )['3*f~S"';J)"'E.7 S> T/fTU '3~ <g (!~r>'j. ~ R~/J'/1/'? E C I 7/ /9<3 <S C.zT)' : ~~..J J-,~ 3) Ex-rENe> (P J(JUJ 'SP) /'lpd C V/EIG-I+T-X-6?TY),4S ~HIFwT "y $ljhm#/fix E {) '3uNNrl~I~~ 'SP B~ (PyL) /JIJO ~()11 (4f?T)I) /?-!5 ToT~T)'.
13 2) 5u/1n/l;eI~E 3) ~t//f4n#;ei~e C-lTY N'3P c., 7" c-:l t5 c~ 1. 'SP B;'(3#) /?pp COU/f/T /lg tip. (p J01N SF) 01 (~IT7) /!Pt? C::OUAlr /IS NSf : ~,,~ ;"')J'(J4-1.7J~P. -!:>.,... 4) 5Vjt1H/!/Ct3E '5p Ell ( f#-) rrpo guff (62r 7) /}g To'[a V / /l-v~ ( (i2 TY) (? <3,4V~ 12 V " //, 1!/?o-/cJ;.. ofa~ ~Yk-e.,,, '.J 11 VC; ( Hf)X r t1jn. :run to CouNT ; ~)) a -, 'Yt(,(.qllt.. ~ /'. // J ~ ~ ( L ';' tjf;'~ c,.,ulvt ~..;~, t " r It J) :,,~. ~ O? /YlLJ<.--m... > ( ~. C(}tf_ ~ '" '\. e.~'?. ) L "1 < cg U t1 ( g P W H FE ItE '5 -# -:: 3-/., ~ T Y ) ~ J ~ ~ ;t,/h ({~ UN G(i!o :.:l, -' GteQUP ((~ I) (re, -:- Ie,., ) x R. ;z ~ ~ \ : tv>:;".... " "
14 RDB: S TT (STU? ; STNrJrl'IE; '3TD r:;"stf1j((' 5 TPEIP) CoT ( ~5Z 1P :; CoTITL~ 1 CaT/PIE ;? ere PIT :J CO P Elf;» JID" 5TCoT (ST1,? J COlD, 7,1( ~)';e/;e ~ GRADE). ',// " (if1~i/ (f») ~ ~ ) (5) J;:J/ J!: ~~((u~~ f..::-,; /.- '. : J o~ -:,"" vi I\'r-A't' J;) (;.,~ 't/ Q/~~ if?j)/ ~~J/~~~ ci;j/ -Q:1 n/ (b, / ~.,,( 3TcoT) M COT) '" CoTrTL E > ~TID=- N 1\ TIe== 1. /\ 'I~'I~ = '. fo) o,z//j}/ 1\1-1\'( r--,-> (//J \C/,~~,:(;,...),..r/ ~,,:J/cJ ~~JJ r~ n (6 (CSTCOT ~ ~ co T )~ srt ).' ', < ~TN~H E > co-rrtle =c./" I~ =-' i/\y~/k: "BI- ( 1\ G-RflOE <,{Q - ~i.. ;' j o~"7" ~j I\,-I\'f J~ I (///} cp- ~.J ~ fj~ ~ ~ ~)/ ~~?I) ~/--' rv - Q 3 n ((G (COT) ~ 6. ( S T COT ) ) t>4 STr) < gtnlf ME) <? T rlj'f<.> CoTYfE~ '-ft' TI?:;1."'1l?y~::.~g~-8?/ It; J (.. -. \ ~ t' ~ II. ". /' (.. '. Q 0); -;,l,j M~ -I\ '( J L,..",) Di (,)';;0 I ~/) U ~~JJ,J ~tj/j.r (f ~/) UI~ - L\ n ((n (5 ( ~qtj) - (n (6 ( ST Tt><l <, ~ TCOT )\~~ cot) <COlD> COTYP - It < $TPf ID;;:'Di'A ') ') COTITLf) Co l D> Y~YR :: 'Si- f62. ' IV r~ Al-/lr r"~ (;» ;/tl/ ~/ ()~ P b (1.7,.J~ -:-J., vjr'// u/ft-- Qc; - -.,t'? - ~ ~IJ~Jr. n (n (5TR" '2/A7t<y,,~~T-~~J))-T(n(6STtfl~:;:C_f)' <CoTITh) <~rid'coi D > A r;.~ fldf*~o <~r rd> J) 1><\ COT)
15 : cr//.(f/g l..~/~ if;/) r ~J//-~ FCltf17-1l.- T (4-) ;:= /J or ~XI$T3 T (NOT -r) )(15T3 T (1-) == NoT ( FoK..4)j,T (!Jor ~)) F(7reIJJL r ( If) ~/t/[) (f)) = (JoTE'XzrsT5T( NoT(!) or. /JoT(t)}) rc'/!l-m- T ( (/-) o (1/)) ==- NoTCXE'JT3T(1Jor (I-) /IN'O IJ~T (I'J) XIJrJ 'T ((/) (/~ (fj) = tjotpoiyi-ll 7 ( JJoTtl-) /1-#0 /JoT(#V EXl1r5 T( (!) /l/l/tj 1/1)) E /JoT"ct7Rll-iL T ( /JoT (I) (?/?!JoT l,v., FO/!,L)jL T ( f) =17 EX I~T 3 T (I) : /~. (If ot ' : XI c; T~ T ( I) ===i7!jot Fo IE.I9Lh T (.f-).. / : ru"~ 'l2>'j ] U... k~ ' -<....-/. ~ l b... ~ c(..ij. t-t 0,,-- _ \\,1-' J / Q... ~ ~... ~,,J // exist!. J t,)j,ricr.. \\ i.t tdc-:l fjtjd if / =--..,r; J / Fof< ;~L L.#r
16 .. l( <sx/ fx, 5fx :7 ~ r;l. cs;,l«~ : (5) ~)/ --:-' LP.;J d IV \:'.,,-f,.,. / P. / -;:J : ~~)-, o /)~~." c? JL--- ubj~.. /~ : <2,. S,x.. g #- ~ '31(.. f!.rv=" c.~ / /laid '5x.. 5TOZTuS> 2,0. ),./ 1 -. l~ ~/... { : Q ~-:v -' P%. ~Vt?,cJ~r: ~. ~ X '5IfI7I'1E tt(~ EXrgTS 1$ PX ( 'f PX ~ #- == 5 X _ gil- /I/f./p ". 3PX" P #- -:::: Pc." J../ //. ~ 1- L -- / 1// /. : 0 tr~~/.//,e /~ j'1j'p',j dlp~ ~,I, : 'ts(~ ~X'~NItM~ ~ EXZg/3 ISfX (~X-~# =- ~P«.f# /la/i? EXIST!? PX ( px- P:p. = 'S PX- Ptf /1/f1P )) px.. CoL ore -=-" fk// ~ /... I I ' ' J a ~, ~ / ~ /. ~ /". : ;:JcF~// S:z. ~ "~r:v~~\j)~,.j d~,l.:.j:.v (t : q:lt. EXl. ~ TS :>x- 5N'I1HE ~--VSPx (EXIgT3 '5fY (SX-J1/ -==- 'SPx..g,# /tnd :srx-f:p. -=- 3 fi- f# /laid SP?,.. g '#- - ~~./ )) '/-j,- ~/.I// / ". AJtrrl/ -' '::::-bh\~,j d",j ~ (l '. 4Zt;i. ~X fnijne tll~ j-o;t'l2ii Fx (EX~T.J ~?X (~f')("31-=:~x.. Vf /flip '$j7x.. p-p =" px.,1'-) ~X - g,vilp113 tttp?:- NoT X7g-rs FX ( NoTEXL8T3 3FX : t..,. ( '5PX' g-;f- = ~X g# ##0, rsrx Pi/- -== PX til)). /. I / ' /,- /. I /.. /''",. : ;.;; c/ r-j/// fr. rev,j if J?0 "'1! I v : clf6' - I ~X ~ tjotexi'3t~ 'Slilit/'1E 'So rx ('!fx. If#- = '5X' f# I ' ~NO, j SPX PI!- -:=-Pt'). 1 C- J..
17 "'~~"'_"..,.A ~,-- -- r ~Tr VIJ;J.~ (J~/ ~/ -:ov~~ SICO r CO r.. ~T ~L-U' ~~~ - -. ~ ~ STCo{ -' C't:'T. ~ ~ j/ c.r).p'j~~:> <.f ~/.J..;,...;Jj~~/ ~/ ~ (co-cord' C{},.COTITLE) W/lpv. CO'C/(Er?IT= '2; ;. =-1 t~<_... &'/ 1\'(-1\ f J~} r;/) 'N' 0" ~ ~ if?}; ~p)/ ~ 1;...Jl,u...:...;//& - G?~ Co. C()TITl~ W/tYb- E X I ~TS s r C.r;. ( 'STC1? ~~I P -; CO c"rp F)tlO STc<? STID -::;' N; lialp ~7Ct(/ fie :; '{.. /?#'O STc<:? y~>,f(= ~2-g3).' ~)o>/-;-" &'; J/ 'c" o/~~ ~..J/~~ I~~i?/) r~ - <?3 ~T STllflf'1E;. tj.l.f,pb- tj otexi ~ T$ ~TC'o( Src(?" gt;j)=~t.jrlp ~/!IP '$ TC 0" C" 1 t;) ':. ' t I ) ';')0>./'. -./ -,/. z) - I') r.1 -: &vi "'(-A 'r' J ~I (/'./) c}l-v1) ~ J' p,oj ~~ J" ~ _i ~ }) rv-//.j'li - ~~ '5;. '5Td!9I"1E J ST 3iHJ{( (.tl~ EXIST::; ~Tco (~T. ')TID= gtc'c"'sti{;) 1Ito. ' /J-N D ~ Teo TI'f: :::. 1. t4-rvo " 'STCo ~ y;e,yt< =.g 2-8"5 r1 tj 0 E X 15 Tg co " ( Co' Col D == :STeo ~ C-o IO AND Co' CoT )'.PE ;:: '1>')) Co. COT[71.E 1AU}u,u... Fotef1A. t... ST (.E XI ~T~ ~ Teo C STC~" 'S TIO::: sore 'frio t1no ~TC1?' \ CorD = CO.. COLO AN' ) ~ Teo T,I( -::: '~~,AND -'ftc,(?" y;eyi< == 'i 2 _ i's'/ /IN D '5 T CO, G1'.4P?-1';/,4/,/0 '5T. '5 TH,j If = C"-""'fi')) U/ ~ C-3
18 \)-\ -~jf)!fb i DBMS" ~ I!:'; t DBMS ~.:.--IJ '1'~ ~ ; ' ~ I,; 0">/_~ ER ;1..>"; ~ r----l.----,,. I..?; > <.S~, ~ ~ ,.hi..>..5~
19 w_.~ :..!U!.!6i!.t. -"( ~ '" -.. t.~ <:- C) '- r 1 f t. -'\:) l' 1- ~ ~ ~ \~~ (, '( ~. \ c... \ c...~ '. ~ '. l' \.: ~L ~.., r. J v C. l:' :: t L~ f,.,r Y 'r v ~ c;, v., ~-, l..r, t '" ~ I ['\ t, ~- :r - t r--, ~,"Vi.[ ~l, l,,, r (l - 'r. L~ 'i.. t, 'b-= 'r: ~ :'.Ii., ~~ {. ~. J '"c;~' ~'.. ~ [;' t t,. 't.[ l \. r' t ~ l ~ 'l. t,. r.." fi:j.. e. (! l' - ~ l r c V c- C' r- ~r r ~~... ~ ~ f.r f'~ l: :l 'L ;< f '"..c:. t,i:' "l-'-.., l-'-" ' G. 't.1:'.... G,,. C- r - -, ~ b -, ~ (. ~_ 0 G. 0 '", c [. t. \ ~~ ~ f ~-:~ i j~ l l' ~ ~ r r.,"b 'e. ~-!.. c ~ v '"v 'l. '"v t '"v.l r " ~.r.. r ;. '"..., 'r ~, (. '. ~ 'I. t c L G ~ ~- l ~ Co t v [- i' '[-' y.t Y,,. c t -', 'r l', ~ l u " r - t -, '" v ~< c:. -.C-. -., t, (. -, l l r I,..r, '".. [, (.,,~ -, '. " ~ [ '" t (;" (" y Vi. ' y,,b 'l. 'L. ~ I:' ~ l.. r" ~,I :. ~.~ I'- v l,' G. 'e l i- c; c; ~ l" [' r. ~ v - y ' V r "\ ~.C- f.r C'" '" I'- '.. tr G..." l ' 't.. 'i-::-' '" c '"-, II "'\ c- ~, -, ' c,". u ~.,.,. I:- -'-, t. (, '". ('Y> I:-.r l' ~ ;.. ~ ~ -... ~,,, ', 'P 'f ( [ 't ' '" '" ". '",". ( ~,,,, - 'r: l,.,r "'I ', C'" ~ I C ', C t.. - c ~, "C- V c.., ' C;. 'I.. t.,: ' f,b 't.,.-.t x- ~ ), ~ t. Y t,f:".t v,,:- 'f F,c' \ ('",. '\\ b ~ t" tl - ". ' 1, '",..., C7 ''1 r. \ ''1 ~ -(.r r ~.t, '2'..r. -" (- -i" ~ ~. n.. " L ' V '!) c. r ~. tl ' v" - v " V '" (,~ 'b-~' ~~. r 0 s: 'r '"-'- ~ 'b. f!) r 'Co ~ l t,..' ~:- C-.. :. ~ V.~. f'_' L Ii ;a t' r --l ~ t \. 1- '\. 1. G; ' (, '~ (L',~.- '. " t!. ~ c,.- - ':.:...t, '!... 'l',t "..:.. ; C- 1 '-...:... r 'i ",- '"..:..: c- -, r c"... ' l 'l 'l',.. r ~ L ~. ( Y ' '. " u,.!-: _ -... '-.,l, L,(. C \I) ' (t,... _ '-_ (, (. "-" I '- b 1 '... ~f r- ',,-,~(~ ~l. t, ' [, ~.-, '-:- ~\ G ~- " 't, rc r " ' () -( 1- 'r. '~ 7 (" v (. :. ~ (. '",:1:-' " '" r 'i- r. t, ' v ~ f. r I l... b-,l r.. (. (. (. l.' r' 'f ~.~ (,~.~ '"[0.t ~.t r;'~ ~ '&: '), 't, '), r' '}; t. [ T}-. },. }- f. '{ '".c... ~ I ~... v '", I [. - ~ ~ ~ '..C"', t.,. r ~ r r ~. ~ - -- t I II I I I 11 '- -1 ~. ~ >- < '(I C> -11 -t -1~". ' ~ I -"t ~., ~ ~.. _- _._ _._ '--".. _ ,,',., ---..,... -_ ~S\i;(:J:.gr "'.. I'.\..m!~~: ~,:.:~ ".~. :.! t.'~. ;y -ttt... 5iJJ1'*i 5...'.'... 6( J. i25!u_w ia
20 , Query Exercises The remaining exercises are all based on the suppliers-parts-projects database (see Fig. 4.5 in the "Exercises" section in Chapter 4 and the answer to Exercise 5.4 in Chapter 5). In each case you are asked to write a relational algebra expression for the indicated query. (By way of an interesting variation, you might like to try looking at ome of the answers first and stating what the given expression means in natural language.) For convenience we show the structure of the database (in outline) below: S P J {S/, SNAME, STATUS, CITY} PRIMARY KEY { SI } {PI, PNAME, COLOR, WEIGHT, CITY} PRIMARY KEY { PI } {J/, JNAME, CITY} PRIMARY KEY { JI } SPJ {S/, PI, J/, QTY } PRIMARY KEY { S/, PI, J# } FOREIGN KEY { S# } REFERENCES S FOREIGN KEY { PI } REFERENCES P FOREIGN KEY { J# } REFERENCES J 6.13 Get full details of all projects Get full details of all projects in London Get supplier numbers for suppliers who suppl y project J I Get all shipments where the quantity is in the range 300 to 750 inclusive Get all part-color/part-city combinations. Note: Here and subsequently, the term "all" is to be taken to mean "all currently represented in the database," not "all possible." 6.18 Get all supplier-number/part-number/project-number triples such that the indicated supplier, part, and project are all co located (i.e., al l in the same city) Get all supplier-number/part-number/project-number triples such that the indicated supplier, part, and project are not all colocated Get all supplier-number/part-number/project-number triples such that no two of the indicated supplier, part, and project are colocated Get full details for parts supplied by a supplier in London Get part numbers for parts supplied by a supplier in London to a project in London Get all pairs of city names such that a supplier in the first city supplies a project in the second city Get part numbers for parts supplied to any project by a supplier in the same city as that project Get project numbers for projects supplied by at least one supplier not in the same city Get all pairs of part numbers such that some supplier supplies both the indicated parts Get the total number of projects supplied by supplier S I Get the total quantity of part PI supplied by supplier S I For each part being supplied to a project, get the part number, the project number, and the corresponding total quantity Get part numbers of parts supplied to some project in an average quantity of more than Get project names for projects supplied by supplier S I Get colors of parts supplied by supplier S I Get part numbers for parts supplied to any project in London Get project numbers for projects using at least one part available from supplier S 1. Q -i.
21 ~ i~ '" ~ i ~ ~ 6.35 Get supplier numbers for suppliers supplying at least one part supplied by at least one supplier who supplies at least one red part Get supplier numbers for suppliers with a status lower than that of supplier S Get project numbers for projects whose city is first in the alphabetic list of such cities Get project numbers for projects supplied with part PI in an average quantity greater than the greatest quantity in which any part is supplied to project J I Get supplier numbers for suppliers supplying some project with part PI in a quantity greater than the average shipment quantity of part PI for that project Get project numbers for projects not supplied with any red part by any London supplier Get project numbers for projects supplied entirely by supplier S l Get part numbers for parts supplied to all projects in London Get supplier numbers for suppliers who supply the same part to all projects Get project numbers for projects supplied with at least all parts available from supplier S Get all cities in which at least one supplier, part, or project is located Get part numbers for parts that are supplied either by a London supplier or to a London project Get supplier-number/part-number pairs such that the indicated supplier does not supply the indicated part Get all pairs of supplier numbers, Sx and Sy say, such that Sx and Sy supply exactly the same set of parts each. (Thanks to a correspondent, Fatma Mili of Oakland University, Rochester, Michigan, for this problem. For simplicity, you might want to use the original suppliers and parts database for this exercise, instead of the expanded suppliers-parts-projects database.) 6.49 Get a "grouped" version of all shipments showing, for each supplier-number/part-number pair, the corresponding project numbers and quantities in the form of a binary relation Get an "ungrouped" version of the relation produced in Exercise Q-:L
22 6.13 J 6.14 J CITY = London 6.15 ( SPJ J# = JI J1 ) ) { sl } 6.16 SPJ QTY ~ QTY 300 ) AND QTY ~ QTY ( 750 ) 6.17 P { COLOR, CITY } ~18 ( S JOIN P JOIN J ) { S/, PI, JI } 6.19 ( ( ( S RENAME CITY AS SCITY TIMES ( P RENAME CITY AS PCITY TIMES ( J RENAME CITY AS JCITY ) SCITY -+ PCITY OR PCITY -+ JCITY OR JCITY -+ SCITY ) { S/, PI, JI } 6.20 ( ( ( S RENAME CITY AS SCITY TIMES ( P RENAME CITY AS PCITY TIMES ( J RENAME CITY AS JCITY ) SCITY -+ PCITY AND PCITY -+ JCITY AND JCITY -+ SCITY ) { S/, pi, JI 6.21 P SEMIJOIN ( SPJ SEMIJOIN ( S CITY = 'London' ) ) 6.22 Just to remind you of the possibility, we show a step-at-a-time solution to this exercise: WITH ( S CITY 'London' ( J CITY = 'London' ( SPJ JOIN T1 ) AS T3, T3 { PI, JI } AS T4, ( T4 JOIN T2 ) AS T5 : T5 { P# } AS T1, AS T2, Here is the same query without using WITH: ( ( SPJ JOIN ( S CITY = 'London' ) ) { PI, J# } JOIN ( J CITY = 'London' ) ) { P# } We will give a mixture of solutions (some using WITH, some not) to the remaining exercises ( ( S RENAME CITY AS SCITY ( J RENAME CITY AS JCITY JOIN SPJ JOIN ) { SCITY, JCITY } 6.24 J JOIN SPJ JOIN S ) { PI } 6.25 ( ( J RENAME CITY AS JCITY ) JOIN SPJ JOIN S RENAME CITY AS SCITY ) ) JCITY f SCITY } { JI } 6.26 WITH SPJ { S/, PI } RENAME SI AS xs/, PI AS XP/ AS T1, SPJ { SI, PI } RENAME SI AS YS/, PI AS YPI AS T2, T1 TIMES T2 ) AS T3, ( T3 XSI = YSI AND xpi < YPI ) AS T4 T4 { XP/, YPI } 6.27 ( SUMMARIZE SPJ { s#, JI } PER RELATION { TUPLE { s# SI ( 'Sl' ) } } ADD COUNT AS N ) { N } We remind you that the expression in the PER clause here is a relation selector invocation (in fact, it is a relation literal). Q-~
23 6.28 ( SUMMARIZE SPJ { sl, PI, QTY } PER RELATION { TUPLE { 51 5# ( '51' ), P# P# ( 'P1' ) } } ADD SUM ( QTY ) AS Q ) { Q } 6.29 SUMMARIZE SPJ PER 5PJ { P#, JI } ADD SUM ( QTY ) AS Q 6.30 WITH ( SUMMARIZE SPJ PER SPJ { PI, JI } ADD AVG ( QTY ) AS Q ) AS T1, ( T1 Q > QTY ( 350 ) ) AS T2 T2 { PI } 6.31 J JOIN SPJ SI = S# 'Sl' { JNAME 6.32 P JOIN SPJ SI = SI 'Sl' { COLOR } 6.33 SPJ JOIN J CITY = 'London' ) ) { P# } 6.34 SPJ JOIN SPJ S# = SI ( 'Sl' { P# 6.35 SPJ JOIN P COLOR COLOR ( 'Red' ) ) { PI } ) JOIN 5PJ ) { PI } JOIN SPJ { J# S# } { SI 6.36 WITH (S SI, STATUS RENAME SI AS xs/, STATUS AS XSTATUS ( S { S/, STATUS} RENAME SI AS YS/, STATUS AS YSTATUS T1 TIMES T2 ) AS T3, T3 XSI = SI ( 'Sl' ) AND XSTATUS > YSTATUS ) AS T4 : T4 { YSI }. AS T1, AS T2, 6.37 ( ( EXTEND J ADD MIN ( J, CITY ) AS FIRST ) CITY FIRST ) { JI } What does this query return if relvar J is empty? 6.38 WITH SPJ RENAME J# AS ZJI ) AS T1, T1 ZJI = JI AND PI = PI ( 'P1' ) ) AS T2, SPJ PI = pi ( 'P1' ) ) AS T3, ( EXTEND T3 ADD AVG ( T2, QTY ) AS QX AS T4, T4 { J#, QX } AS T5, ( SPJ JI = JI ( 'J1' ) ) AS T6, ( EXTEND T6 ADD MAX ( T6, QTY ) AS QY ) AS T7, ( T5 TIMES T7 { QY } ) AS T8, ( T8 QX > QY ) AS T9 : T9 { JI } 6.39 WITH ( SPJ P# = PI ( 'P1' ) ) AS T1, T1 { SI, J/, QTY } AS T2, ( T2 RENAME JI AS XJ/, QTY AS XQ ) AS T3, ( SUMMARIZE T1 PER SPJ { JI } ADD AVG ( QTY ) AS Q AS T4, ( T3 TIMES T4 ) AS T5, ( T5 XJI = JI AND XQ > Q ) AS T6 : T6 { SI } 6.40 WITH ( S CITY = 'London' ) { SI } AS T1, ( P COLOR = COLOR ( 'Red ' ) ) AS T2, ( T1 JOIN SPJ JOIN T2 ) AS T3 J { JI } MINUS T3 { JI } 6.41 J { J# MINUS ( SPJ S# 1- SI (, Sl' ) ) { J# } 6.42 WITH ( ( SPJ RENAME P# AS X ) X = P# ) { J# } AS T1, ( J CITY = 'London' ) { J# } AS T2, ( P T1 ~ T2 ) AS T3 : T3 { P# } 6.43 S { S#, PI } DIVIDEBY J { JI } PER SPJ { s#, PI, J# } 1 Q-f
24 6.44 ( J ( ( SPJ RENAME JI AS Y ) Y = J# ( SPJ SI SI ( 'Sl' ) ) { P# } P# J# 6.45 S { CITY } UNION P CITY UNION J { CITY } 6.46 SPJ JOIN UNION SPJ JOIN S CITY J CITY 'London' 'London' { P# { P# 6.47 S TIMES P ) { S/, P# } MINUS SP { S#, P# } 6.48 We show two solutions to this problem. WITH ( SP RENAME SI AS SA ) { SA, P# } AS T1, 1* T1 {SA,P#} : SA supplies part P# *1 ( SP RENAME S# AS SB ) { SB, P# } AS T2, 1* T2 {SB,P/} : SB supplies part PI *1 T1 { SA } AS T3, 1* T3 {SA} : SA supplies some part *1 T2 { SB } AS T4, 1* T4 {SB} : SB supplies some part *1 ( T1 TIMES T4 ) AS TS, 1* TS {SA,SB,P#} : SA supplies some part and SB supplies part P# */ ( T2 TIMES T3 ) AS T6, 1* T6 {SA,SB,P/} : SB supplies some part and SA supplies part P# *1 ( T1 JOIN T2 ) AS T7, 1* T7 {SA,SB,P/} : SA and S8 both supply part PI *1 ( T3 TIMES T4 AS Ta, 1* T8 {SA,SB} SA supplies some part and SB supplies some part *1 SP { PI } AS T9, 1* T9 {PI} : part PI is supplied by some supplier *1 ( T8 TIMES T9 ) AS T10, 1* T10 {SA,SB,P/} : SA supplies some part, S8 supplies some part, and part PI is supplied by some supplier *1 ( T10 MINUS T7 ) AS T11, 1* T11 {SA,SB,P/} : part PI is supplied, but not by both SA and S8 *1 ( T6 INTERSECT T11 ) AS T12, 1* T12 {SA,S8,P/} : part PI is supplied by SA but not by SB *1 ( TS INTERSECT T11 ) AS T13, 1* T13 {SA,SB,P/} : part PI is supplied by SB but not by SA */ T12 { SA, 58 } AS T14, /* T14 {SA,SB} SA supplies some part not supplied by S8 *1 T13 { SA, S8 } AS T1S, /* T1S {SA,SB} S8 supplies some part not supplied by SA *1 ( T14 UNION T1S ) AS T16, /* T16 {SA, 58} : some part is supplied by SA or SB but not both * / Q-~
25 I I ~ T7 { SA, SB } AS T17, /* T17 {SA,SB} : some part is supplied by both SA and SB */ ( TI7 MINUS TI6 ) AS TIS, /* TIS {SA,SB} : some part is supplied by both SA and SB, and no part supplied by SA is not supplied by SB, and no part supplied by SB is not supplied by SA -- so SA and SB each supply exactly the same parts */ ( T1S SA < SB ) AS TI9 : /* tidy-up step */ TI9 The second solution- which is much more straightforward!-makes use of the relational comparisons introduced in Section 6.9. WITH S RENAME SI AS SA ) { SA } AS RA, S RENAME SI AS SB ) { SB } AS RB : RA TIMES RB) ( SP SI AND SA ) PI ( SP SI = SB ) { PI SA < SB 6.49 SPJ GROUP ( J/, QTY ) AS JQ 6.50 Let SPQ denote the result of the expression shown in the answer to Exercise Then: SPQ UNGROUP JQ.. Q-Y
26 JX JX JX. CITY = 'London' SPJX. S# SPJX. J# = JI ( 'J1' SPJX SPJX.QTY ~ QTY SPJX.QTY $ QTY AND PX.COLOR, PX.CITY SX.SI, PX.PI, JX.J# SX.CITY AND PX.CITY AND JX.CITY PX.CITY JX.CITY SX.CITY ( SX. SI, PX. P#, JX. JI ) SX. CITY f- PX. CITY OR PX.CITY f- JX.CITY OR JX.CITY f- SX.CITY ( SX. S#, PX ;P#, JX. J# ) SX. CITY f- PX. CITY AND PX.CITY f- JX.CITY AND JX.CITY f- SX.CITY SPJX. PI EXISTS SX ( SX. SI = SPJX. SI AND SX.CITY = 'London' ) SPJX. PI EXISTS SX EXISTS JX (SX.S# SPJX.SI AND SX.CITY JX.J# = SPJX.JI AND JX.CITY 'London' AND 'London' ) ( SX. CITY AS SCITY, JX. CITY AS JCITY ) EXISTS SPJX ( SPJX.S# = SX.SI AND SPJX.J# JX.J# ) SPJX. PI EXISTS SX EXISTS JX (SX.CITY JX.CITY AND SPJX.SI SX.SI AND SPJX.J# = JX.J# ) SPJX.J# EXISTS SX ( SX.CITY f SPJX.SI SPJX.JI = EXISTS JX JX.CITY AND SX.SI AND JX.JI ) ( SPJX. PI AS XP/, SPJY. PI AS YP# ) SPJX.SI = SpJY.S/ ' AND ' SPJX.p/ ' <, spjy.pl.i, COUNT ( SpJX.J# ' SPJX.S#, = IS# ;C '51' ) ) AS N SUM ( SPJX SPJX. SI = SI ( 'Sl' ) AND SPJX.P# = P# ( 'PI' ), QTY ) AS Q Note: The following "solution" is not correct (why not?): SUM ( SPJX.QTY SPJX.SI = SI ( 'Sl' AND SpJx.PI = PI,( '~1' ) AS Q Answer: Because duplicate QTY values will now be eliminated before the sum is computed ( SPJx.P#, SPJx.J#, SUM ( SPJY spjy.pi spjx.pi AND spjy.ji SpJX.J#, QTY ) AS Q ) SPJX.PI AVG ( SPJY SPJY.P# SPJX.p# AND SPJY.J# SPJX.J#, QTY ) > QTY ( 350 ) JX.JNAME EXISTS SPJX SPJX.J# = JX.J# AND SPJX.S# = S# ( 'Sl' ) ) Q-V
27 PX. COLOR EXISTS SPJX ( SPJX. PI SPJX.SI PX.P# AND S# ( 'Sl' ) ) SPJx.P# EXISTS JX ( JX.CITY = 'London' AND JX.J# = SPJX.J# ) SPJX. J I EXISTS SPJY SPJX.PI SPJY.PI AND SPJY. SI = SI ( 'Sl' ) ) SPJX. SI EXISTS SPJY EXISTS SPJZ EXISTS PX ( SPJX.P# = SPJY.P# AND SPJY.SI = SPJZ.SI AND SPJZ.PI = PX.PI AND PX.COLOR = COLOR ( 'Red' ) ) sx.si EXISTS SY ( SY.SI = SI ( 'Sl' ) AND SX.STATUS < SY.STATUS JX. J I FORALL JY ( JY. CITY ~ JX. CITY Or: JX.JI JX.CITY = MIN ( JY.CITY ) SPJX.JI SPJX.P# = PI ( 'P1' ) AND AVG ( SPJY SPJY.P# = PI ( 'P1' ) MAX AND SPJY.JI = SPJX.J#, QTY ) > ( SPJZ.QTY SPJZ.J# = J# ( 'J1' ) ) SPJX. S# SPJX.PI = PI ( 'P1' AND SPJX.QTY > AVG ( SPJY SPJY.P# AND SPJY.JI PI ( 'P1' ) SPJX.J#, QTY JX.J# NOT EXISTS SPJX EXISTS SX EXISTS PX ( SX.CITY = 'London' AND PX. COLOR = COLOR ( 'Red' ) AND SPJX.SI SX.SI AND SPJX.PI PX.PI AND SPJX.JI = JX.JI ) Jx.JI FORALL SPJY ( IF SPJY.J# JX.JI THEN SPJY.SI = SI ( 'Sl' ) END IF ) PX. PI FORALL JX ( IF JX.CITY = 'London' THEN EXISTS SPJY (SPJY.PI PX.PI AND SPJY.JI = JX.J# ) END IF ) SX. SI EXISTS PX FORALL JX EXISTS SPJY (SPJY.SI SX.SI AND SPJY.PI PX.PI AND SPJY-.JI = JX.JI ) JX.JI FORALL SPJY IF SPJY. sl = SI ( 'Sl' ) THEN EXISTS SPJZ SPJZ.JI = JX.J# AND SPJZ.PI = SPJY.P# ) END IF ) RANGEVAR VX RANGES OVER ( SX.CITY ), ( PX.CITY ), ( JX.CITY ) VX.CITY SPJX. PI EXISTS SX OR EXISTS JX Q-A sx.si = SPJX.SI AND SX.CITY = 'London' ) JX.JI = SPJX.J# AND JX.CITY = 'London' )
28 ( SX. S/, PX.PI ) NOT EXISTS SPJX ( SPJX.SI SX.SI AND SPJX.PI PX.PI ) ( SX.SI AS XS/, SY.S# AS YS# ) FORALL PZ ( ( IF EXISTS SPJX SPJX.S# SX.S# AND SPJX.P# PZ.PI ) THEN EXISTS SPJY SPJY.SI sy.sl AND SPJY.P# pz.pl ) END IF) AND ( IF EXISTS SPJY SPJY.S# SY.S# AND THEN EXISTS SPJX SPJY.PI SPJX.SI PZ.PI ) SX.SI AND END IF ) ) SPJX.PI PZ.PI ) ( SPJX.S/, SPJX.P/, ( SPJY.J/, SPJY.QTY SPJY.SI SPJX.SI AND SPJY.PI = SPJX.PI ) AS JQ '" Let R denote the result of evaluating the expression shown in the previous solution. Then:,,'f" j,i RANGEVAR RX RANGES OVER R,. RANGEVAR RY RANGES OVER RX.JQ ( RX.S/, RX.P#, RY.J#, RY.QTY,', ; We are extending the syntax and semantics of <range var definition> slightly. The idea is that the definition of R Y depends on that of RX (note that the two definitions are separated by a comma, not a semicolon, and are thereby bundled into a single operation). See reference [3.3] for further discussion. I
29 .,. '. Y $ - L \ ~JJU/P b/. /.J \. // _ r /-.: FD.///,..) _.-J.)~ } 4f~~J)JLJ-" -I. ~~f ' B c II ~ 1I.-:,f3.'.. u-/'~j'/ b~l; -{ ft)~ff :~ 4 fi- B _.L 8-~ c" ~ fi ~ C : (a'"j!;;) if ~ "I"-\'- _ r.l/ t9 -? B ~ (n, c) -->r (B,e): cp;;;; 6~ \,--'f.. 1 Ii - ($,c) ~ II~B ~ h- C : 1";/.",,\,--'I' II if, '.~ C-7D ~t_ (fl1c)4 (8;D). =0o#t,- ~ ~.. 4 /I--tB ~.4'- c: 7ii-- '11--+ '( 6" c) : C ~J,A--f' -4 fi~8 a-d (B, C)-..?D j~ (fi;c) -'? D :if~~"",,~-,:.~ '.... :.. ~....,: (~)(>~... ~ ~~j HUlA- DIlf(VlEIV ~~)).. cr~...f~~~b' ~1\ ".l-f f7~8 a;d C-D 7h <-~ flu(c-fj)-t (B-, D) j / - p /.... / ) - ') I -,..J.-' '--!: u--/j..; ~ -J LM..yJ ~ ' ~ J. \, -?,/ y-".!' ~! ' ~ ~ f.?~jj.~- ~ ~~~ )~ (",-, F r ~~ -cjf~j.j?~j t~~ /...L.' / r-' A ) ~"; cr: L"J.-~ 1-, t--) & I if' ~J ':' 0,,", ~ - """, ~ ~ ~ F :-) '-!" (C/~':~. (~0 F :)~~)J&-. ;, lr;.::::.-0 c;, /.;r> W / ; J f:j.l irj ;., J.::- t;j J,t; J c.. t:- J';,.,< t. -"", : "!"; 5 ~(;. j; «~).(),j -11 (.. -:J ~+ ~ ~~~~~. ".// ".../',. /' pot : ~ L~> ~ cp,,:.j"-,:"f~j / W. V' ~ o. " ~:~,~.) ~ ~., j/. / '/ A,\l- ).{': ~ '~ I ~ ~~ -~c: "::' b.~ 7J u:) ~ G,...,.. ~.,.;l r«!/!./ _v \.).# V ;, 0 f- _.. _ '" ; v',,.,.- '. -' ~ / ("}, - ' I ---!~ ) t -- J~ L.r''J ~ \ ). \ I. ' -!> t ~ / /, -.. ) ' V _ " "., J ~)/ "./ j )-?' -:'" 1 -.:-~) t>
30 (fit) 2"'-f:l 4 =-"-)/v- <Tt~/~ rju//--r:;ur:(lf pp )1;;" :... ~ ".. ' - ' : ~)~ \'~~'f'l r~~ J: )/~~.) V FD~/; 'cr; ~) - ~ - g~c -' f?( Il)e.~c,... ) :~) C/(Efl7 E ~:sfff2tjon ctobfd C- HE C k ( NoTExrgTg ( g, F.L F(" 7' B rro/-' f? /'0 P Qt.... R Cr /I.. Ot) /) / i ': I-/lt V IN 6 t1 It X (C):f t1 IfJ ( ( ) )) /
31 CON&rf?ftItlT CT08FD fo~ fjlt- R1 ( fo~iilt. R2 ( IF R~ 8 = Ri 8 TifEN Rl C -= f(i C )) / F :; i 19 ->P (8, c.) ~ B-"'C { It -~ B / B --,. C 't9~p (r (/h ~~ I /'; ; t"',9 ( )0) Ju J,, /).' U "- ~ II f /t~b ~ (A-,8)"-+ C J (rl 1(')-;oD1 : :::"---llj~ :"FP /'i~'~!/,<'~ -. :,oj - : 1/1 - I ~J - 'I'. c"/ ) ) (,4,C)-D )3 -..:;,.p E~ C (t9,c..)~p (C,p) -->/i (BJ E)~tJ "v... (.,., /,,1 /.1';'" l'~j t ' -<' :r:-.;;j. -,/..v./'/), ::t, _ (' C, o? EJ.r=. 8--,,~1 /".. ;:= 1 J ;2..' I\, _r_' I ( ;4, D)-'-' E,'" " c,.f.;,, J I I / '"' ) 13. '-- ~V ~ : ~J:!:,~~ r~ ' ( /.:) ~'D) fj )~u1(. ( /~',0 fl' DT-3 I, ~ :.,1./ ".) ~... 1 ".-, ---;. -.. D '.
32 (ot/grrffln't CTOBFD fo~ fill- R1 ( Fof(/itJ. R2 ( IF Ri a =f(i B TiiEN RJ.C -= {(i-e )) / _ J: I' // -+,-. 1;;;/ f; : r 'I"? '~///;;?>J F12_ ~~(/}JJ-' 11 ~! \;F ~ F := {!9 -"p (8, c).j B-"' C,;9->tB 1 (A-'f3)~-+C I (,47(").-,D1 J...Jt,;I).' \..~11 ; (/ h ~: I l~ ; t"'.9 (' > 0) u {!1 -'lp.b J B -'" C, ;:9~P~ : =-- lj~ (f.,fp /'~t'~b>/t<'~ -. : \// /J-)- C / /)~>B : (~/) 11-" I'g?cj /J - I ~ ~D E~C ( t9,c.)-..+.d -, (C,.o)-->/i (8J )~ fj / /' (';) Q (... 1,, \. r<';. ( '- 1 V --",v. /";. 'JV)" --) '- ' I /.,) : ~~~Ip~ r~ ' (r=j ~I D) c.j )~ iff( (,4 "D f~' DT"'3
33 COHgrR ftltl T CTOBFO f t)1f f)lt- ((1 ( f0rr./iu R2 ( 1 F Ri 8 = Ri B TfiEtI RJ C =,Ri-C )) / : ::"--- " /j~ r.,fp fit'~"'/,<'~ -. : 1/) - ( A,c)- D (/)) Ii ~c ~J - ~ /4~ P. (/J) J3~D E~C ( t9,c.)~p (c'.d)-~ /1 ( B;E) --.",tl : -\.~..1 (,.." /,.. /.I~ t '~. b '..:' r~~.. :y... /' /)... :J f f,' - - ' I. I? -'> (' c,o?t;j -l=. q~1 1",, ;::) ) ~. C' 1\.-.'-' ( ;4 7 D) ~ E, - i C f t... I) _.- -"7,-- I : ~ J~? ~ r~ ' t / f ~1 D) f J ) /-' iff.( (.4':i D r-,.. j DT"3., if/' \r ~~,,...:} --"y D '
34 d _,J I~,~, - tlyj? uf~ --'-)~/)(;~ )A(.JY" R ( x,y) X,... ),.1}) / I) 1) :l) X Y, y ~ ~ X --~ -.~ A -1' 3) ~) 'i 6) 1) ~) I 9) I l f X~~7 ~ ><~( R(H)-(XIY)) X ~ Y ~ x-",~y X --..,.~'I J -x ~~ ~ -:::;:p X ~-+ ( y, x) X _~ Y j (Y' ~ ) 0-+-' W -=\>' (~ I X ) -.-'> ( IN' - ( y, ;c )) X ~~ Y ~ x. VI ~ (X, \AI ) -..,..." ( '( I X ) X ~.,,> ( 'I ~ 1- ) ~~ X -r )I n Z j X~"" Y - x., X ~-7 Z - 'I X -+-?' Y j X -J' VI, we!, ' ')I n X == Ii 7~ X---->' VI : MVD J~)~~' )~ :.;-fl.))~.)p.j X ~~ Y LS)...l.. A...o~ ~l; ~I,. R( x, Y, Z) ~I)),) tz, t, <.S~L..; ~ ",l-.; ~lji ~, (..:.,l..jq;,j rl..; ),) R 0,) r--f ),) R ~I) ) )..l.io y:> : cs LS?~ ~ ~~ ~I,).)p'"j r.; tot j t3 <.S~l; ol{;i,...g~ t,[x] = t2[x] ~~ tl[x] = t2[x] = t3[x] = 4[X] qy] = t,[y] t,[r( H) - Y] = tz(r(h) - Y] t.t[y] = tz[yj t.t[r(h) - YJ = t, [R(H) - Y] t. Y - ~NF ~J/ /)h ~//.> ~.,..-A LSIr..,.sl..:: NF ),). F LS)L.L~~, ~l; LS~e- :1, ~~ ~ R ~I) ) ~ J9I...1.:> (Y c R(H), X c R(H)) X ~~ Y u)~ ~ F+ ),) ~l; ~Ij : [RICA 90]...G~ )) r..i.j..j c-oj,,). ~~ ~l.; LS)~~ ~l; ~I, X ~~ Y./ DT-4 +. F ),) X ~~ Y LS)...;.j..,~ ~ I,.)p.",..:.),...",),) J I -.:-..14NF ),) R ~I) [SIMO 95] ~~ R ~..).jl) ~ X. (Y c R(H), X c R(H))
35 ~J;Y!J'J)J (~d~./'> IS!?. ()r~.) (Lf>~y?~>~;j) ( i ~ J~< I). I I ~ (I... u:.~ ' (.)/./.1 U ~/ J/~v..J --~ t.. -, (. G. ~ 'li) -,,/ J -, - - ~ t- 0 \'-. /. /- "'if,! :&JF /yb'1~-"y/)~j~ /.>o~oj\a-./j~_\" ( I,pJb 1 J/I r t/' I. Q / 1/ ) 1/ "" '.,... \ l r.> / \V \u~ t;~v:~{" ~/j ~ {J.///o (-::-";vj;~...j> / ~ -, -.- (... CfJ,,:J/ ~)L>~ G)~/G.~ ~ )J)OJ I) / w: V ~ ~ _ ~ ~ ~ 1.Jr>.-'~ ~(!({I/J ~upj)1;j~ :~)/ r:' (v ~)~ U ~ ~) - ~ r:.. if-;))jh~; l#-~)") b;j; )JE!/ )y~'; -v -=--- (d, V [~ J\ ~~ (JJ~ ~./ '> ~ V -1 ~ ~ (~~ (;; f ~ :'J) J 0 v ( C/J;;/d/ J/. OJ )~/J rjb p.)~ ~ l~.,. //...-/ (.. ~. (/j~~"(5//.~:"jj~1~)tsj;~_h I L ~J /) L ~ ~. ~') ' ( )" ~,6 -I.L ~Y:A/ ~_ ~.)ci-!~ (Q.J.);J~~ ~~.,I)/ - " (.~/o )~) f).. -!!;,L._df ~2Jt-rJ ~--sa/ " ~;'rj;;?(-~j~.//..,.j r1u~j)~j~ ~;>J~~tif.>~ ~/)~ 5~0(J/v;JL/'-U(l '.-" ~.~)z;&;~~/;~j,;;j--;-::~ : ~) t;) - 5~~tr~~r!jv~G.~) if/\?~ L - / J ' V d. 0!i;./~ ~~/;~J-f;'J ; ifyy)~~...,.; U!) «; vj/.'i~!j -.J\f-.) I 1/... / LJ,.\2' L. L~ t.; _ j.; : ;.,;. L. ~ /:' J_u' ':({,\Isl ~-l y'
36 , -:,' II..,.. (8)~ ~ourse(1) Query Exercises The remaining exercises are all based on the suppliers-parts-projects database (see Fig. 4.5 in the "Exercises" section in Chapter 4 and the answer to Exercise 5.4 in Chapter 5). In each case you are asked to write a relational algebra expression for the indicated query. (By way of an interesting variation, you might like to try looking at some of the answers first and stating what the given expression means in natural language.) For convenience we show the structure of the database (in outline) below: 5 {5#, 5NAME, STATUS, CITY} P PRIMARY KEY { SI } {PI, PNAME, COLOR, WEIGHT, CITY} PRIMARY KEY { PI } J {J#, JNAME, CITY } PRIMARY KEY { JI } SPJ {5#, PI, J#, QTY } PRIMARY KEY { S#, PI, J# } FOREIGN KEY { S# } REFERENCES S FOREIGN KEY { PI } REFERENCES P FOREIGN KEY { JI } REFERENCES J 6:13 Get full details of all projects Get full details of all projects in London Get supplier numbers for suppliers who supply project J I Get all shipments where the quantity is in the range 300 to 750 inclusive: 6.17 Get all part-color/part-city combinations. Note: Here and subsequently, the term "all" is to be taken to mean "all currently represented in the database," not "all possible." 6.18 Get all supplier-numberlpart-number/project-number triples such that the indicated supplier, part, and project are all co located (i.e., all in the same city) Get all supplier-nur11ber/part-number/project-number triples such that the indicated supplier, part, and project are not.all C:610cated Get all supplier-number/part-number/project-number triples such that no two of the indicated supplier, part, and project are colocated Get full details for parts supplied by a supplier in London Get part numbers for parts supplied by a supplier in London to a project in London Get all pairs of city names such that a supplier in the fi rst city suppl ies a project in the second city Get part numbers for parts supplied to any project by a supplier in the same city as that project Get project numbers for projects. supplied by at least one supplier not in the same city Get all pairs of part numbers such that some supplier supplies both the indicated parts Get the total number of projects supplied by supplier S Get the total quantity of part PI supplied by supplier S For each part being supplied to a project, get the part number, the project number, and the corresponding total quantity Get part numbers of parts supplied to some project in an average quantity of more than Get project names for projects supplied by supplier S I Get colors of parts supplied by supplier S Get part numbers for parts supplied to any project in London get project numbers for projects using at least one part available from supplier S 1.
37 6.35 Get supplier numbers for suppliers supplying at least one part supplied by at least one supplier who supplies at least one red part Get supplier numbers for suppliers with a status lower than that of supplier S Get project numbers for projects whose city is first in the alphabetic list of such cities Get project numbers for projects supplied with part PI in an average quantity greater than the greatest quantity in which any part is su pplied to project J Get supplier numbers for suppliers supplying some project with part PI iri a quantity greater than the average shipment quantity of part PI for that project Get projec~ numbers for projects not supplied with any red part by any London supplier Get project numbers for projects supplied entirely by supplier Sl Get part numbers for parts supplied to all projects in London Get supplier numbers for suppliers who supply the same part toall projects Get project numbers for projects supplied with at least all paris' available from supplier S Get all cities in which at least one supplier, part, or project is located Get part numbers for parts that are supplied either by a London supplier or to a London project Get supplier-number/part-number pairs such that the indicated supplier does not supply the indicated part Get all pairs of supplier numbers, Sx and Sy say, such that Sx and Sy supply exactly the same set of parts each. (Thanks to a correspondent, Fatma Mili of Oakland University, Rochester, Michigan, for this problem. For simplicity, you might want to use the original suppliers and parts database for this exercise, instead of the expanded suppliers-pacts-projects database.) 6.49 Get a "grouped" version of all shipments showing, for each supplier-number/part-number pair, - the corresponding project numbers and quantities in the form of a binary relation Get an "ungrouped" version of the relation produced in Exercise l
38 7.15 We have numbered the followin :' ' ulutions as 7. IS.n, where 6.1l is [he number of the original exercise in Chapter SELECT * J Or simpl y: TABLE J i SELECT J. * J J.CITY 'London' i SELECT DISTINCT SPJ. 5# - SPJ.. SPJ.J# 'Jl' ~ SELECT AND SPJ.* SPJ SPJ.QTY >= 300 SPJ.QTY <= SELECT DISTINCT P.COLOR, P.CITY P i SELECT AND 5.5/, P.P/, J.JI 5, P, J S. CITY P.CITY P.CITY = J.CITY SELECT S.5/, P.P/, J.J# s, P, J NOT ( S.CITY P.CITY AND P.CITY = J.CITY ) ; SELECT AND AND SELECT V '\ SELECT AND S.S/, P.P/, J.JI S,_ P, J S.CITY <> P.CITY P.CITY <> J.CITY J.CITY <> P.CITY DISTINCT SPJ.P# SPJ ( SELECT S.CITY S S.S# = SPJ.sl ) DISTINCT SPJ.P# SPJ ( SELECT S.CITY S S.S# = SPJ.S# SELECT J.CITY J J.J# = SPJ.JI ) 'London' 'London' 'London' ~ea(>_c-f 'P. r;.-o-,,-,- 'S..; 2, <::'?1 w4.re ~?~ _. 3 ~ =~. s -wfikcl S?-I"?-:4 = P'?47 fh-d ~cj1::: I - L9NDDN,\ ' SELECT ( DISTINCT S.CITY AS SCITY, J.CITY AS JCITY 5, J EXISTS SELECT SPJ SPJ.S# S.S# AND SPJ.J# J.J#
39 t. I ' SELECT DISTINCT SPJ ( SELECT SELECT SPJ.P# S.CITY S S.S# = J.CITY J J.J# = SPJ.S# SPJ.J# ) SELECT DISTINCT SPJ ( SELECT SELECT SPJ.J# S.CITY S S.S# = J.CITY J J.J# = SPJ.S# <> SPJ.J# SELECT AND DISTINCT SPJX.P# AS SPJ AS SPJX, SPJ AS SPJX.S# SPJY.S# SPJX.P# < SPJY.P# ; PA, SPJY.P# AS PB SPJY SELECT COUNT ( DISTINCT SPJ. JI ) AS N SPJ SPJ.SI = '51' SELECT ' SUM ( SPJ.QTY SPJ SPJ.SI 'Sl' AND SPJ. pi = 'P1'. i AS X SELECT SPJ. P#, SPJ. J/, SUM ( SPJ. QTY ) AS Y SPJ GROUP BY SPJ.P/, SPJ.J# SELECT GROUP HAVING DISTINCT SPJ.P# SPJ BY SPJ.P#, SPJ.J# AVG ( SPJ.QTY ) > SELECT DISTINCT J. JNAME J, SPJ J.JI = SPJ.J# AND SPJ.SI = '51' ; SELECT AND DISTINCT P.COLOR P, SPJ P.PI = SPJ.PI SPJ.SI = 'Sl' ; SELECT DISTINCT SPJ. P# SPJ, J SPJ.J# J.J# AND J.CITY 'London' SELECT DISTINCT SPJX.J# SPJ AS SPJX, SPJ AS SPJY SPJX.P# SPJY.P# AND SPJY.S# = '51' ; SELECT AND AND DISTINCT SPJX.S# SPJ AS SPJX, SPJ AS SPJY, SPJ AS SPJZ SPJX. P# = SPJY.P# SPJY.S# = SPJZ.S# SELECT P.COLOR P P.P# = SPJZ.P# 'Red'
40 .~ SELECT S. S# S S.STATUS < ( SELECT S.STATUS S S.S# = 'Sl' SELECT J.J# J J.CITY SELECT MIN J) J.CITY ) SELECT AND ( DISTINCT SPJX.J# SPJ AS SPJX SPJX.PI = 'PI' SELECT AVG ( SPJY.QTY SPJ AS SPJY SPJY.JI SPJX.J# AND SPJY.P# = 'Pl' ) > SELECT MAX ( SPJZ.QTY ) SPJ AS SPJZ SPJZ.JI = 'J1' SELECT AND DISTINCT SPJX.SI SPJ AS SPJX SPJX.PI = 'Pl' SPJX.QTy > ( SELECT AND AVG ( SPJY.QTY ) SPJ AS SPJY SPJY.PI 'P1' SPJY.J# = SPJX.J# SELECT ( J.JI J NOT EXISTS SELECT * SPJ, P, S SPJ.JI = J.J# AND SPJ.P# = P.P# AND SPJ.S# = S.SI AND. P.COLOR = 'Red' AND S.CITY = 'London' SELECT ( J.JI J NOT EXISTS SELECT * SPJ SPJ.JI = J.JI AND - NOT.f.SPJ.S# 'Sl' ) ) SELECT ( P.PI P NOT EXISTS SELECT *. AND J J.CITY = 'London' NOT EXISTS SELECT * SPJ SPJ.P# P.P# AND SPJ.J# J.J# ) )
7.13 7.14 7.15 J J WHERE CITY = 'London' ( SPJ WHERE J# = J# ( 'J1' ) ) { S# } 7.16 SPJ WHERE QTY QTY ( 300 ) AND QTY QTY ( 750 ) 7.17 7.18 7.19 7.20 7.21 P { COLOR, CITY } ( S JOIN P JOIN J ) { S#, P#,
More information~,. :'lr. H ~ j. l' ", ...,~l. 0 '" ~ bl '!; 1'1. :<! f'~.., I,," r: t,... r':l G. t r,. 1'1 [<, ."" f'" 1n. t.1 ~- n I'>' 1:1 , I. <1 ~'..
,, 'l t (.) :;,/.I I n ri' ' r l ' rt ( n :' (I : d! n t, :?rj I),.. fl.),. f!..,,., til, ID f-i... j I. 't' r' t II!:t () (l r El,, (fl lj J4 ([) f., () :. -,,.,.I :i l:'!, :I J.A.. t,.. p, - ' I I I
More informationFuture Self-Guides. E,.?, :0-..-.,0 Q., 5...q ',D5', 4,] 1-}., d-'.4.., _. ZoltAn Dbrnyei Introduction. u u rt 5,4) ,-,4, a. a aci,, u 4.
te SelfGi ZltAn Dbnyei Intdtin ; ) Q) 4 t? ) t _ 4 73 y S _ E _ p p 4 t t 4) 1_ ::_ J 1 `i () L VI O I4 " " 1 D 4 L e Q) 1 k) QJ 7 j ZS _Le t 1 ej!2 i1 L 77 7 G (4) 4 6 t (1 ;7 bb F) t f; n (i M Q) 7S
More informationA L A BA M A L A W R E V IE W
A L A BA M A L A W R E V IE W Volume 52 Fall 2000 Number 1 B E F O R E D I S A B I L I T Y C I V I L R I G HT S : C I V I L W A R P E N S I O N S A N D TH E P O L I T I C S O F D I S A B I L I T Y I N
More informationExhibit 2-9/30/15 Invoice Filing Page 1841 of Page 3660 Docket No
xhibit 2-9/3/15 Invie Filing Pge 1841 f Pge 366 Dket. 44498 F u v 7? u ' 1 L ffi s xs L. s 91 S'.e q ; t w W yn S. s t = p '1 F? 5! 4 ` p V -', {} f6 3 j v > ; gl. li -. " F LL tfi = g us J 3 y 4 @" V)
More informationnecessita d'interrogare il cielo
gigi nei necessia d'inegae i cie cic pe sax span s inuie a dispiegaa fma dea uce < affeandi ves i cen dea uce isnane " sienzi dei padi sie veic dei' anima 5 J i f H 5 f AL J) i ) L '3 J J "' U J J ö'
More information176 5 t h Fl oo r. 337 P o ly me r Ma te ri al s
A g la di ou s F. L. 462 E l ec tr on ic D ev el op me nt A i ng er A.W.S. 371 C. A. M. A l ex an de r 236 A d mi ni st ra ti on R. H. (M rs ) A n dr ew s P. V. 326 O p ti ca l Tr an sm is si on A p ps
More informationAPPH 4200 Physics of Fluids
APPH 42 Physics of Fluids Problem Solving and Vorticity (Ch. 5) 1.!! Quick Review 2.! Vorticity 3.! Kelvin s Theorem 4.! Examples 1 How to solve fluid problems? (Like those in textbook) Ç"Tt=l I $T1P#(
More informationTuple Relational Calculus
Tuple Relational Calculus Université de Mons (UMONS) May 14, 2018 Motivation S[S#, SNAME, STATUS, CITY] P[P#, PNAME, COLOR, WEIGHT, CITY] SP[S#, P#, QTY)] Get all pairs of city names such that a supplier
More informationDatabase Systems SQL. A.R. Hurson 323 CS Building
SQL A.R. Hurson 323 CS Building Structured Query Language (SQL) The SQL language has the following features as well: Embedded and Dynamic facilities to allow SQL code to be called from a host language
More information35H MPa Hydraulic Cylinder 3.5 MPa Hydraulic Cylinder 35H-3
- - - - ff ff - - - - - - B B BB f f f f f f f 6 96 f f f f f f f 6 f LF LZ f 6 MM f 9 P D RR DD M6 M6 M6 M. M. M. M. M. SL. E 6 6 9 ZB Z EE RC/ RC/ RC/ RC/ RC/ ZM 6 F FP 6 K KK M. M. M. M. M M M M f f
More informationi;\-'i frz q > R>? >tr E*+ [S I z> N g> F 'x sa :r> >,9 T F >= = = I Y E H H>tr iir- g-i I * s I!,i --' - = a trx - H tnz rqx o >.F g< s Ire tr () -s
5 C /? >9 T > ; '. ; J ' ' J. \ ;\' \.> ). L; c\ u ( (J ) \ 1 ) : C ) (... >\ > 9 e!) T C). '1!\ /_ \ '\ ' > 9 C > 9.' \( T Z > 9 > 5 P + 9 9 ) :> : + (. \ z : ) z cf C : u 9 ( :!z! Z c (! $ f 1 :.1 f.
More information6 'J~' ~~,~, [u.a~, ~').J\$.'..
6 'J',, [u.a, ').J\$.'...;iJ A.a...40 - II L:lI'J - fo.4 i I.J.,l I J.jla.I (JIJ.,.,JI A.a...40 -.Jjll I...IJ J.l - c.sjl.s.4 jj..jaj.lj.... -"4...J.A.4 " o u.lj; 3. \J)3 0 )I.bJil j (" 0L...i'i w-? I
More informationUniversity Libraries Carnegie Mellon University Pittsburgh PA ON COMPLETIONS OF UNIFORM LIMIT SPACES. Oswald Wyler.
ON COMPLETIONS OF UNIFORM LIMIT SPACES by Oswald Wyler Report 67-3 February, 1967 University Libraries Carnegie Mellon University Pittsburgh PA 15213-3890 ON COMPLETIONS OP UNIFORM LIMIT SPACES by Oswald
More informationTausend Und Eine Nacht
Connecticut College Digital Commons @ Connecticut College Historic Sheet Music Collection Greer Music Library 87 Tausend Und Eine Nacht Johann Strauss Follow this and additional works at: https:digitalcommonsconncolledusheetmusic
More informationT h e C S E T I P r o j e c t
T h e P r o j e c t T H E P R O J E C T T A B L E O F C O N T E N T S A r t i c l e P a g e C o m p r e h e n s i v e A s s es s m e n t o f t h e U F O / E T I P h e n o m e n o n M a y 1 9 9 1 1 E T
More informationn
p l p bl t n t t f Fl r d, D p rt nt f N t r l R r, D v n f nt r r R r, B r f l. n.24 80 T ll h, Fl. : Fl r d D p rt nt f N t r l R r, B r f l, 86. http://hdl.handle.net/2027/mdp.39015007497111 r t v n
More information5 s. 00 S aaaog. 3s a o. gg pq ficfi^pq. So c o. H «o3 g gpq ^fi^ s 03 co -*«10 eo 5^ - 3 d s3.s. as fe«jo. Table of General Ordinances.
5 s Tble f Generl rinnes. q=! j-j 3 -ri j -s 3s m s3 0,0 0) fife s fert " 7- CN i-l r-l - p D fife s- 3 Ph' h ^q 3 3 (j; fe QtL. S &&X* «««i s PI 0) g #r
More informationExecutive Committee and Officers ( )
Gifted and Talented International V o l u m e 2 4, N u m b e r 2, D e c e m b e r, 2 0 0 9. G i f t e d a n d T a l e n t e d I n t e r n a t i o n a2 l 4 ( 2), D e c e m b e r, 2 0 0 9. 1 T h e W o r
More informationo C *$ go ! b», S AT? g (i * ^ fc fa fa U - S 8 += C fl o.2h 2 fl 'fl O ' 0> fl l-h cvo *, &! 5 a o3 a; O g 02 QJ 01 fls g! r«'-fl O fl s- ccco
> p >>>> ft^. 2 Tble f Generl rdnes. t^-t - +«0 -P k*ph? -- i t t i S i-h l -H i-h -d. *- e Stf H2 t s - ^ d - 'Ct? "fi p= + V t r & ^ C d Si d n. M. s - W ^ m» H ft ^.2. S'Sll-pl e Cl h /~v S s, -P s'l
More informationrhtre PAID U.S. POSTAGE Can't attend? Pass this on to a friend. Cleveland, Ohio Permit No. 799 First Class
rhtr irt Cl.S. POSTAG PAD Cllnd, Ohi Prmit. 799 Cn't ttnd? P thi n t frind. \ ; n l *di: >.8 >,5 G *' >(n n c. if9$9$.jj V G. r.t 0 H: u ) ' r x * H > x > i M
More information::::l<r/ L- 1-1>(=-ft\ii--r(~1J~:::: Fo. l. AG -=(0,.2,L}> M - &-c ==- < ) I) ~..-.::.1 ( \ I 0. /:rf!:,-t- f1c =- <I _,, -2...
Math 3298 Exam 1 NAME: SCORE: l. Given three points A(I, l, 1), B(l,;2, 3), C(2, - l, 2). (a) Find vectors AD, AC, nc. (b) Find AB+ DC, AB - AC, and 2AD. -->,,. /:rf!:,-t- f1c =-
More informationP a g e 5 1 of R e p o r t P B 4 / 0 9
P a g e 5 1 of R e p o r t P B 4 / 0 9 J A R T a l s o c o n c l u d e d t h a t a l t h o u g h t h e i n t e n t o f N e l s o n s r e h a b i l i t a t i o n p l a n i s t o e n h a n c e c o n n e
More information,\ I. . <- c}. " C:-)' ) I- p od--- -;::: 'J.--- d, cl cr -- I. ( I) Cl c,\. c. 1\'0\ ~ '~O'-_. e ~.\~\S
Math 3306 - Test 1 Name: An d {"0v\ ( _ roj ~ ed Date: l'( ~0 { 1\ Fall 2011 1. (to Pts) Let S == {I, 2, 3,4, 5,6,7,8,9, 10}. of each of the following types of mappings, provide justification for why the
More informationr(j) -::::.- --X U.;,..;...-h_D_Vl_5_ :;;2.. Name: ~s'~o--=-i Class; Date: ID: A
Name: ~s'~o--=-i Class; Date: U.;,..;...-h_D_Vl_5 _ MAC 2233 Chapter 4 Review for the test Multiple Choice Identify the choice that best completes the statement or answers the question. 1. Find the derivative
More informationP a g e 3 6 of R e p o r t P B 4 / 0 9
P a g e 3 6 of R e p o r t P B 4 / 0 9 p r o t e c t h um a n h e a l t h a n d p r o p e r t y fr om t h e d a n g e rs i n h e r e n t i n m i n i n g o p e r a t i o n s s u c h a s a q u a r r y. J
More informationo V fc rt* rh '.L i.p -Z :. -* & , -. \, _ * / r s* / / ' J / X - -
-. ' ' " / ' * * ' w, ~ n I: ».r< A < ' : l? S p f - f ( r ^ < - i r r. : '. M.s H m **.' * U -i\ i 3 -. y$. S 3. -r^ o V fc rt* rh '.L i.p -Z :. -* & --------- c it a- ; '.(Jy 1/ } / ^ I f! _ * ----*>C\
More informationI M P O R T A N T S A F E T Y I N S T R U C T I O N S W h e n u s i n g t h i s e l e c t r o n i c d e v i c e, b a s i c p r e c a u t i o n s s h o
I M P O R T A N T S A F E T Y I N S T R U C T I O N S W h e n u s i n g t h i s e l e c t r o n i c d e v i c e, b a s i c p r e c a u t i o n s s h o u l d a l w a y s b e t a k e n, i n c l u d f o l
More informationOH BOY! Story. N a r r a t iv e a n d o bj e c t s th ea t e r Fo r a l l a g e s, fr o m th e a ge of 9
OH BOY! O h Boy!, was or igin a lly cr eat ed in F r en ch an d was a m a jor s u cc ess on t h e Fr en ch st a ge f or young au di enc es. It h a s b een s een by ap pr ox i ma t ely 175,000 sp ect at
More information4 4 N v b r t, 20 xpr n f th ll f th p p l t n p pr d. H ndr d nd th nd f t v L th n n f th pr v n f V ln, r dn nd l r thr n nt pr n, h r th ff r d nd
n r t d n 20 20 0 : 0 T P bl D n, l d t z d http:.h th tr t. r pd l 4 4 N v b r t, 20 xpr n f th ll f th p p l t n p pr d. H ndr d nd th nd f t v L th n n f th pr v n f V ln, r dn nd l r thr n nt pr n,
More information~i~, ~';J M.1 "A.X;t7~~
Ci1 ;w -,IL I MX-- AA.R- v-r ';t ""lz"""" f 7ll\1. 13/cd Vt.dJt-l (l{ t f1.)-: ) -;::- r,.o.
More informationUsing the Rational Root Theorem to Find Real and Imaginary Roots Real roots can be one of two types: ra...-\; 0 or - l (- - ONLl --
Using the Rational Root Theorem to Find Real and Imaginary Roots Real roots can be one of two types: ra...-\; 0 or - l (- - ONLl -- Consider the function h(x) =IJ\ 4-8x 3-12x 2 + 24x {?\whose graph is
More informationtrawhmmry ffimmf,f;wnt
r nsr rwry fff,f;wn My 26, $51 Swe, k "Te Srwberry Cp f e Vr,, c) [ re ers 6 (, r " * f rn ff e # s S,r,* )er*,3n*,.\ ) x 8 2 n v c e 6 r D r, } e ;s 1 :n..< Z r : 66 3 X f; 1r_ X r { j r Z r 1r 3r B s
More informationMPM 2D Final Exam Prep 2, June b) Y = 2(x + 1)2-18. ~..: 2. (xl- 1:'}")( t J') -' ( B. vi::: 2 ~ 1-'+ 4 1<. -t-:2 -( 6! '.
MPM 2D Final Exam Prep 2 June 2017 1. Express each equation in standard form and factored form: ~ ~ +et's 'leu t W (.. ".>tak( a) y = (x + 5)2 + 1 on ::t~'t.{1'" ~heeh v 1' K 1 C'. T.) '. (J. lr lov J
More informationСборник 2 fhxn "HeHo, Dolty!" HAL LEONARD D/X/ELAND COMBO PAK 2 Music and Lyric by JERRY HERMÁN Arranged by PAUL SEVERSON CLARNET jy f t / / 6f /* t ü.. r 3 p i
More informationb. e> nsjfitmjs - cne> Nursing Services Center, Faculty of Nursing Chiang Mai University. njauynfaa phuapmiu e'linaula* ftvnflwtivlvm ofooo
/. > Af Nursing ervices Center, Faculty f Nursing Chiang Mai University. njauynfaa phuapmiu e'linaula* ftvnflwtivlvm f ((&n) sjentpilg:, gtectigf, ctctfaffrfld Ivnem ( cn) babbjqci b. e> nsjfitmjs cne>
More informationYears. Marketing without a plan is like navigating a maze; the solution is unclear.
F Q 2018 E Mk l lk z; l l Mk El M C C 1995 O Y O S P R j lk q D C Dl Off P W H S P W Sl M Y Pl Cl El M Cl FIRST QUARTER 2018 E El M & D I C/O Jff P RGD S C D M Sl 57 G S Alx ON K0C 1A0 C Tl: 6134821159
More informationl [ L&U DOK. SENTER Denne rapport tilhører Returneres etter bruk Dokument: Arkiv: Arkivstykke/Ref: ARKAS OO.S Merknad: CP0205V Plassering:
I Denne rapport thører L&U DOK. SENTER Returneres etter bruk UTLÅN FRA FJERNARKIVET. UTLÅN ID: 02-0752 MASKINVN 4, FORUS - ADRESSE ST-MA LANETAKER ER ANSVARLIG FOR RETUR AV DETTE DOKUMENTET. VENNLIGST
More informationQuery answering using views
Query answering using views General setting: database relations R 1,...,R n. Several views V 1,...,V k are defined as results of queries over the R i s. We have a query Q over R 1,...,R n. Question: Can
More informationTh pr nt n f r n th f ft nth nt r b R b rt Pr t r. Pr t r, R b rt, b. 868. xf rd : Pr nt d f r th B bl r ph l t t th xf rd n v r t Pr, 00. http://hdl.handle.net/2027/nyp.33433006349173 P bl D n n th n
More informationECE430 Name 5 () ( '-'1-+/~ Or"- f w.s. Section: (Circle One) 10 MWF 12:30 TuTh (Sauer) (Liu) TOTAL: USEFUL INFORMATION
" ~~~~~,",,_~"",,"cr,~ - r " ECE430 Name 5 () ( '-'1-+/~ Or"- f ws Exam #2 (print Name) Spring 2005 Section: (Circle One) 10 MWF 12:30 TuTh (Sauer) (Liu) Problem 1 Problem 2 Problem 3 Problem 4 TOTAL:
More information(! "! # ) T *+!, &'( ) % -.* / *3 '!'1 2 .=! =&6 0 * ' ) 4 50 *6 7 ) 8 ) 9 :; )!'
(! "!#) IT *+!, &'( )% -.* / *0!"# *3'!'1 2.=! =&6 0 * ' )450 *6 7 )8 ) 9; )!' 1 1 #$ "!.))/% )- #% +,()* #%&' ( 12, % 3 ), " %$ '.3 1 %$67 8 "()) 45-1 ) 6" "6!9) " -2 %, ;
More informationColby College Catalogue
Colby College Digital Commons @ Colby Colby Catalogues College Archives: Colbiana Collection 1866 Colby College Catalogue 1866-1867 Colby College Follow this and additional works at: http://digitalcommons.colby.edu/catalogs
More informationGAV-sound with conjunctive queries
GAV-sound with conjunctive queries Source and global schema as before: source R 1 (A, B),R 2 (B,C) Global schema: T 1 (A, C), T 2 (B,C) GAV mappings become sound: T 1 {x, y, z R 1 (x,y) R 2 (y,z)} T 2
More informationH NT Z N RT L 0 4 n f lt r h v d lt n r n, h p l," "Fl d nd fl d " ( n l d n l tr l t nt r t t n t nt t nt n fr n nl, th t l n r tr t nt. r d n f d rd n t th nd r nt r d t n th t th n r lth h v b n f
More information'NOTAS"CRITICAS PARA UNA TEDRIA DE M BUROCRACIA ESTATAL * Oscar Oszlak
OVí "^Ox^ OqAÍ"^ Dcument SD-11 \ 'NOTAS"CRTCAS PARA UNA TEDRA DE M BUROCRACA ESTATAL * Oscr Oszlk * El presente dcument que se reprduce pr us exclusv de ls prtcpntes de curss de Prrms de Cpctcón, se h
More informationI n t e r n a t i o n a l E l e c t r o n i c J o u r n a l o f E l e m e n t a r y E.7 d u, c ai ts is ou n e, 1 V3 1o-2 l6, I n t h i s a r t
I n t e r n a t i o n a l E l e c t r o n i c J o ue rlne am l e not fa r y E d u c a t i o n, 2 0 1 4, 1 37-2 ( 16 ). H o w R e a d i n g V o l u m e A f f e c t s b o t h R e a d i n g F l u e n c y
More information46 D b r 4, 20 : p t n f r n b P l h tr p, pl t z r f r n. nd n th t n t d f t n th tr ht r t b f l n t, nd th ff r n b ttl t th r p rf l pp n nt n th
n r t d n 20 0 : T P bl D n, l d t z d http:.h th tr t. r pd l 46 D b r 4, 20 : p t n f r n b P l h tr p, pl t z r f r n. nd n th t n t d f t n th tr ht r t b f l n t, nd th ff r n b ttl t th r p rf l
More informationn r t d n :4 T P bl D n, l d t z d th tr t. r pd l
n r t d n 20 20 :4 T P bl D n, l d t z d http:.h th tr t. r pd l 2 0 x pt n f t v t, f f d, b th n nd th P r n h h, th r h v n t b n p d f r nt r. Th t v v d pr n, h v r, p n th pl v t r, d b p t r b R
More information,.*Hffi;;* SONAI, IUERCANTII,N I,IMITDII REGD- 0FFICE: 105/33, VARDHMAN GotD[N PLNLA,R0AD No.44, pitampura, DELHI *ffigfk"
$ S, URCT,,MTD RGD 0C: 10/, VRDM G[ LL,R0D.44, ptmpur, DL114 C: l22ldll98l,c0224gb, eb:.nlmernte.m T, Dte: 17h tber, 201 BS Lmted hre ]eejeebhy Ter Dll Street Mumb 41 The Mnger (Ltng) Delh Stk xhnge /1,
More informationPHYS 232 QUIZ minutes.
/ PHYS 232 QUIZ 1 02-18-2005 50 minutes. This quiz has 3 questions. Please show all your work. If your final answer is not correct, you will get partial credit based on your work shown. You are allowed
More informationq-..1 c.. 6' .-t i.] ]J rl trn (dl q-..1 Orr --l o(n ._t lr< +J(n tj o CB OQ ._t --l (-) lre "_1 otr o Ctq c,) ..1 .lj '--1 .IJ C] O.u tr_..
l_-- 5. r.{ q-{.r{ ul 1 rl l P -r ' v -r1-1.r ( q-r ( @- ql N -.r.p.p 0.) (^5] @ Z l l i Z r,l -; ^ CJ (\, -l ọ..,] q r 1] ( -. r._1 p q-r ) (\. _l (._1 \C ' q-l.. q) i.] r - 0r) >.4.-.rr J p r q-r r 0
More informationIntegrated II: Unit 2 Study Guide 2. Find the value of s. (s - 2) 2 = 200. ~ :-!:[Uost. ~-~::~~n. '!JJori. s: ~ &:Ll()J~
Name: 1. Find the value of r., (r + 4) 2 = 48 4_ {1 1:. r l f 11i),_ == :r (t~ : t %J3 (t:; KL\J5 ~ ~ v~~f3] ntegrated : Unit 2 Study Guide 2. Find the value of s. (s 2) 2 = 200 ~ :!:[Uost ~~::~~n '!JJori
More informationa a T = «*5S?; i; S 25* a o - 5 n s o s*- o c S «c o * * * 3 : -2 W r-< r-j r^ x w to i_q pq J ^ i_5 ft "ag i-s Coo S S o f-trj. rh.,-j,»<l,3<l) 5 s?
Tble f Generl rdnnce CP CB >J >> c; 5 fc5 5 S hh CD d; CC02 5^ CD Cb
More informationTHE USE OF A CALCULATOR, CELL PHONE, OR ANY OTHER ELEC- TRONIC DEVICE IS NOT PERMITTED DURING THIS EXAMINATION.
MATH 220 NAME So\,t\\OV\ '. FINAL EXAM 18, 2007\ FORMA STUDENT NUMBER INSTRUCTOR SECTION NUMBER This examination will be machine processed by the University Testing Service. Use only a number 2 pencil
More informationA Gentle Introduction to Gradient Boosting. Cheng Li College of Computer and Information Science Northeastern University
A Gentle Introduction to Gradient Boosting Cheng Li chengli@ccs.neu.edu College of Computer and Information Science Northeastern University Gradient Boosting a powerful machine learning algorithm it can
More informationSoftware Process Models there are many process model s in th e li t e ra t u re, s om e a r e prescriptions and some are descriptions you need to mode
Unit 2 : Software Process O b j ec t i ve This unit introduces software systems engineering through a discussion of software processes and their principal characteristics. In order to achieve the desireable
More information.Sua. 8f fc"g. II f 8. *1 w. a -a M +» * <N H Q. o * H CO. * o M < a «* n 55 ti 55 «55 «55 Pi. u < < M C C * Ztf fc tf fctf tf tf ISO.
04 ti tf ti -0 T T5 T) " rt..9..9 *>!. +» 1 +* cc +> 0" +» c >. 0> v > U rt +» P p. e rt i < I' T rt >
More information4 8 N v btr 20, 20 th r l f ff nt f l t. r t pl n f r th n tr t n f h h v lr d b n r d t, rd n t h h th t b t f l rd n t f th rld ll b n tr t d n R th
n r t d n 20 2 :24 T P bl D n, l d t z d http:.h th tr t. r pd l 4 8 N v btr 20, 20 th r l f ff nt f l t. r t pl n f r th n tr t n f h h v lr d b n r d t, rd n t h h th t b t f l rd n t f th rld ll b n
More informationMv3" L7-- Art L 31. am rt. ao - M rr. a cn. art O' N. t00. to o( C7 c O. Ort. n ' C ( a ( W 0. z D0) Ln rni 90 O H N rt 0. to0) O mx rt N. W n.
S = TG _. -. t s e- ' F F J l T L L " m - F+ m G T. G m ( ( F+ v ( _ = ). i i vi vi t g d d --( ( ( t t ( - : m ET 7 ' m : ( 7 c t+ ) c - 7 7de 7( ( d;:', ` m G - L Lm ) 7 ` 7 [ t d `< ( ) ( m ( ) c. (
More informationHelping Kids Prepare For Life (253)
Hlpi Ki Pp F Lif.l.i. (253)-589-7489 Tilli it it L Livit iv f fiv CIS U H. Vip pt fll t Tilli Elt l tpi tff tt f vi t t CIS T Hll f i Cltt N Cli. - L ivi i CIS f Bill Milli CIS pit Dil Cili Ti l iz it
More informationI N A C O M P L E X W O R L D
IS L A M I C E C O N O M I C S I N A C O M P L E X W O R L D E x p l o r a t i o n s i n A g-b eanste d S i m u l a t i o n S a m i A l-s u w a i l e m 1 4 2 9 H 2 0 0 8 I s l a m i c D e v e l o p m e
More information> DC < D CO LU > Z> CJ LU
C C FNS TCNCAL NFRMATN CNTR [itpfttiiknirike?fi-'.;t C'JM.V TC hs determined n \ _\}. L\\ tht this Technicl cment hs the istribtin Sttement checked belw. The crnt distribtin fr this dcment cn be telind
More information*^ irart ^r" -^irt" n'"" 8 "!^' 'if* 4 "^1* 0 f^* *>(""!.'»' *? 1? *}' ';' *l g r. (p 'n't inn*? ^ iff*"* 0 (2) (f) Jf5n**" in?*'*?
I Jf5n**" in?*'*? rr^-rf rrr *r (f) (2) (p 'n't inn*? ^ iff*"* 0 1? *}' ';' *l g r *^ irart ^r" -^irt" n'"" 8 "!^' 'if* 4 "^1* 0 f^* *>(""!.'»' *? 32 3JU1 J.» JJI ^^ Jl Uil^ilft!*_* ju.1 35 JL..a^bf t^m^f
More informationSOLUTION SET. Chapter 9 REQUIREMENTS FOR OBTAINING POPULATION INVERSIONS "LASER FUNDAMENTALS" Second Edition. By William T.
SOLUTION SET Chapter 9 REQUIREMENTS FOR OBTAINING POPULATION INVERSIONS "LASER FUNDAMENTALS" Second Edition By William T. Silfvast C.11 q 1. Using the equations (9.8), (9.9), and (9.10) that were developed
More information106 70/140H-8 70/140H-8
7/H- 6 H 7/H- 7 H ffffff ff ff ff ff ff ff ff ff f f f f f f f f f f f ff f f f H 7/H- 7/H- H φφ φφ φφ φφ! H 1 7/H- 7/H- H 1 f f f f f f f f f f f f f f f f f f f f f f f f f f f f f ff ff ff ff φ φ φ
More informationPR D NT N n TR T F R 6 pr l 8 Th Pr d nt Th h t H h n t n, D D r r. Pr d nt: n J n r f th r d t r v th tr t d rn z t n pr r f th n t d t t. n
R P RT F TH PR D NT N N TR T F R N V R T F NN T V D 0 0 : R PR P R JT..P.. D 2 PR L 8 8 J PR D NT N n TR T F R 6 pr l 8 Th Pr d nt Th h t H h n t n, D.. 20 00 D r r. Pr d nt: n J n r f th r d t r v th
More information0 t b r 6, 20 t l nf r nt f th l t th t v t f th th lv, ntr t n t th l l l nd d p rt nt th t f ttr t n th p nt t th r f l nd d tr b t n. R v n n th r
n r t d n 20 22 0: T P bl D n, l d t z d http:.h th tr t. r pd l 0 t b r 6, 20 t l nf r nt f th l t th t v t f th th lv, ntr t n t th l l l nd d p rt nt th t f ttr t n th p nt t th r f l nd d tr b t n.
More informationINF1383 -Bancos de Dados
INF1383 -Bancos de Dados Prof. Sérgio Lifschitz DI PUC-Rio Eng. Computação, Sistemas de Informação e Ciência da Computação Projeto de BD e Formas Normais Alguns slides são baseados ou modificados dos originais
More informationz E z *" I»! HI UJ LU Q t i G < Q UJ > UJ >- C/J o> o C/) X X UJ 5 UJ 0) te : < C/) < 2 H CD O O) </> UJ Ü QC < 4* P? K ll I I <% "fei 'Q f
I % 4*? ll I - ü z /) I J (5 /) 2 - / J z Q. J X X J 5 G Q J s J J /J z *" J - LL L Q t-i ' '," ; i-'i S": t : i ) Q "fi 'Q f I»! t i TIS NT IS BST QALITY AVAILABL. T Y FRNIS T TI NTAIN A SIGNIFIANT NBR
More informationshhgs@wgqqh.com chinapub 2002 7 Bruc Eckl 1000 7 Bruc Eckl 1000 Th gnsis of th computr rvolution was in a machin. Th gnsis of our programming languags thus tnds to look lik that Bruc machin. 10 7 www.wgqqh.com/shhgs/tij.html
More informationI-1. rei. o & A ;l{ o v(l) o t. e 6rf, \o. afl. 6rt {'il l'i. S o S S. l"l. \o a S lrh S \ S s l'l {a ra \o r' tn $ ra S \ S SG{ $ao. \ S l"l. \ (?
>. 1! = * l >'r : ^, : - fr). ;1,!/!i ;(?= f: r*. fl J :!= J; J- >. Vf i - ) CJ ) ṯ,- ( r k : ( l i ( l 9 ) ( ;l fr i) rf,? l i =r, [l CB i.l.!.) -i l.l l.!. * (.1 (..i -.1.! r ).!,l l.r l ( i b i i '9,
More informationLabor and Capital Before the Law
University of Michigan Law School University of Michigan Law School Scholarship Repository Articles Faculty Scholarship 1884 Labor and Capital Before the Law Thomas M. Cooley University of Michigan Law
More informationDepression & Solving Right Triangles
Math 10 3.3 Notes Angles of Elevationl Depression & Solving Right Triangles Part 1- Angles of Elevation and Depression Angle of elevation: is the angle between the line of sight and the horizontal line
More informationTHE WORLD BANK GROUP ARCHIVES PUBLIC DISCLOSURE AUTHORIZED
THE WORLD BANK GROUP ARCHIVES PUBLIC DISCLOSURE AUTHORIZED Folder Title: Finland-LN-61 - Photographs - Volume 1 Folder ID: 1721443 Fonds: Records of Office of External Affairs (WB IBRD/IDA EXT) Digitized:
More informationDrury&Wliitson. Economical. Planning of Buildings. .(Chilecture B. S. DNJVERSITT' OF. 11,1. 1 ibkahy
Drury&Wliitson Economical Planning of Buildings.(Chilecture B. S. 902 DJVERSTT' OF,. ibkahy 4 f ^ ^ J' if 4 ^ A 4. T? 4'tariung iint) 4':>bor. f LBRARY or TMl University of llinois. CLASS. BOOK. VO.UMK.
More informationMARKOV CHAINS: STATIONARY DISTRIBUTIONS AND FUNCTIONS ON STATE SPACES. Contents
MARKOV CHAINS: STATIONARY DISTRIBUTIONS AND FUNCTIONS ON STATE SPACES JAMES READY Abstract. In this paper, we rst introduce the concepts of Markov Chains and their stationary distributions. We then discuss
More informationLinear Algebra March 16, 2019
Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented
More informationp r * < & *'& ' 6 y S & S f \ ) <» d «~ * c t U * p c ^ 6 *
B. - - F -.. * i r > --------------------------------------------------------------------------- ^ l y ^ & * s ^ C i$ j4 A m A ^ v < ^ 4 ^ - 'C < ^y^-~ r% ^, n y ^, / f/rf O iy r0 ^ C ) - j V L^-**s *-y
More informationConstructing c-ary Perfect Factors
Constructing c-ary Perfect Factors Chris J. Mitchell Computer Science Department Royal Holloway University of London Egham Hill Egham Surrey TW20 0EX England. Tel.: +44 784 443423 Fax: +44 784 443420 Email:
More informationsx 'may r e?'.:`~~ Fy`.`I ~` -... n a ~ - `~ ~.n~ Be a %~... > r~'~s~ egvrr'~.~,~,,,~., ~~' ~... PY s r~~k~ ~ ~f~ ~, _ t s. ., ~ ~~~ ~..
gt 4 x r _.:. 'o.s ----.-----------_ y6^j T r.. ^ _.._ C..._6 a i' :: _, a,ti Ck So /- { r1t`..r.t"`pd?4'' "+u "...'3,1 sx 'may r e?'.:` Fy`.`I ` -... n a - `.n Be a %... > r's egvrr'.,,,,., '... PY v
More informationo K(s, t)f(t)(s tp) dt g(s), 0 < =< T, with given p > 0 and 0< a < 1. Particular attention is
SIAM J. MATH. ANAL. Vol. 5, No. 5, October 1974 AN EXISTENCE THEOREM FOR ABEL INTEGRAL EQUATIONS* KENDALL E. ATKINSON$ Abstract. An existence and smoothness theorem is given for the Abel integral equation
More information< < or a. * or c w u. "* \, w * r? ««m * * Z * < -4 * if # * « * W * <r? # *» */>* - 2r 2 * j j. # w O <» x <» V X * M <2 * * * *
- W # a a 2T. mj 5 a a s " V l UJ a > M tf U > n &. at M- ~ a f ^ 3 T N - H f Ml fn -> M - M. a w ma a Z a ~ - «2-5 - J «a -J -J Uk. D tm -5. U U # f # -J «vfl \ \ Q f\ \ y; - z «w W ^ z ~ ~ / 5 - - ^
More information(308 ) EXAMPLES. 1. FIND the quotient and remainder when. II. 1. Find a root of the equation x* = +J Find a root of the equation x 6 = ^ - 1.
(308 ) EXAMPLES. N 1. FIND the quotient and remainder when is divided by x 4. I. x 5 + 7x* + 3a; 3 + 17a 2 + 10* - 14 2. Expand (a + bx) n in powers of x, and then obtain the first derived function of
More informationMathematics Extension 1
BAULKHAM HILLS HIGH SCHOOL TRIAL 04 YEAR TASK 4 Mathematics Etension General Instructions Reading time 5 minutes Working time 0 minutes Write using black or blue pen Board-approved calculators may be used
More informationCOMPILATION OF AUTOMATA FROM MORPHOLOGICAL TWO-LEVEL RULES
Kimmo Koskenniemi Re se ar ch Unit for Co mp ut at io na l Li ng ui st ic s University of Helsinki, Hallituskatu 11 SF-00100 Helsinki, Finland COMPILATION OF AUTOMATA FROM MORPHOLOGICAL TWO-LEVEL RULES
More information828.^ 2 F r, Br n, nd t h. n, v n lth h th n l nd h d n r d t n v l l n th f v r x t p th l ft. n ll n n n f lt ll th t p n nt r f d pp nt nt nd, th t
2Â F b. Th h ph rd l nd r. l X. TH H PH RD L ND R. L X. F r, Br n, nd t h. B th ttr h ph rd. n th l f p t r l l nd, t t d t, n n t n, nt r rl r th n th n r l t f th f th th r l, nd d r b t t f nn r r pr
More information`G 12 */" T A5&2/, ]&>b ; A%/=W, 62 S 35&.1?& S + ( A; 2 ]/0 ; 5 ; L) ( >>S.
01(( +,-. ()*) $%&' "#! : : % $& - "#$ :, (!" -&. #0 12 + 34 2567 () *+ '!" #$%& ; 2 "1? + @)&2 A5&2 () 25& 89:2 *2 72, B97I J$K
More informationTh n nt T p n n th V ll f x Th r h l l r r h nd xpl r t n rr d nt ff t b Pr f r ll N v n d r n th r 8 l t p t, n z n l n n th n rth t rn p rt n f th v
Th n nt T p n n th V ll f x Th r h l l r r h nd xpl r t n rr d nt ff t b Pr f r ll N v n d r n th r 8 l t p t, n z n l n n th n rth t rn p rt n f th v ll f x, h v nd d pr v n t fr tf l t th f nt r n r
More informationv f e - w e ^ C c ^ ^ o e s r v i c e ^ ^.
* * >>'.* v. K *. V-Vv, : *. v - ' *.. v ;,-:-v -; v r ^ y c - : -, - r r : r * < : ~ : >, -. ^ * "--* * - * -ui.t-l.2,u?.:^_ a..., : w.--j.i: :-.; rr - a i r /-».. i v ' ^ 4. * '... ' J \ - ;/>»-
More informationo ri fr \ jr~ ^: *^ vlj o^ f?: ** s;: 2 * i i H-: 2 ~ " ^ o ^ * n 9 C"r * ^, ' 1 ^5' , > ^ t g- S T ^ r. L o n * * S* * w 3 ** ~ 4O O.
THE PENALTY FR MAKING A FALSE STATEMENT IN THIS REPRT AND/R CERTIFICATE IS S5. R SIX MNTHS IMPRISNMENT R BTH "D "? y. " cr TJ Xl^ " Q. rt 5' "g s r ^.. C i :? S :.. y ' : s s ^ST (X. I ^^ ^ ^ S : t ^ :
More information22 t b r 2, 20 h r, th xp t d bl n nd t fr th b rd r t t. f r r z r t l n l th h r t rl T l t n b rd n n l h d, nd n nh rd f pp t t f r n. H v v d n f
n r t d n 20 2 : 6 T P bl D n, l d t z d http:.h th tr t. r pd l 22 t b r 2, 20 h r, th xp t d bl n nd t fr th b rd r t t. f r r z r t l n l th h r t rl T l t n b rd n n l h d, nd n nh rd f pp t t f r
More informationfur \ \,,^N/ D7,,)d.s) 7. The champion and Runner up of the previous year shall be allowed to play directly in final Zone.
OUL O GR SODRY DUTO, ODS,RT,SMTUR,USWR.l ntuctin f cnuct f Kbi ( y/gil)tunent f 2L-Lg t. 2.. 4.. 6. Mtche hll be lye e K ule f ene f tie t tie Dutin f ech tch hll be - +0 (Rece)+ = M The ticint f ech Te
More informationSolutions and Ions. Pure Substances
Class #4 Solutions and Ions CHEM 107 L.S. Brown Texas A&M University Pure Substances Pure substance: described completely by a single chemical formula Fixed composition 1 Mixtures Combination of 2 or more
More informationAPPH 4200 Physics of Fluids
APPH 4200 Physics of Fluids Rotating Fluid Flow October 6, 2011 1.!! Hydrostatics of a Rotating Water Bucket (again) 2.! Bath Tub Vortex 3.! Ch. 5: Problem Solving 1 Key Definitions & Concepts Ω U Cylindrical
More informations(\y'+- -Y;/ o o- UN9 EHF fri "rii I lt iil# trd= llllll r-rrl a_ / r_*{fr d3= ffffi0" n6 _ n'n.tr ff== ooh cn lu 22.Jtu<. P Qfo -_L -T d ;u \, a c
- (,/) L l Z- LL c l 22.
More informationThe Periodic Table. Periodic Properties. Can you explain this graph? Valence Electrons. Valence Electrons. Paramagnetism
Periodic Properties Atomic & Ionic Radius Energy Electron Affinity We want to understand the variations in these properties in terms of electron configurations. The Periodic Table Elements in a column
More information: i; ii: i:i: I. : q t:iig l3 [i E. i;issii:i::: r p. ! s:r;e;:e;!f. as Iet5;Fgi. i EiiF;:'+3EI. : :*gsc:li-ii. ; si;;ei:i:g; .
, / - H f ) - $ H A - --" G \/ - - f \f ff P) G T - ), - ) -..R '' (.) f- w (, AA - Нотная библиотека \ S R.- R \?! -! h )! - X* - Y - J. ** " { B e B Rk * f [He 1e [Y!!-- e *J! *Jee.1!.,1g -!. -! >. j.,
More informationSTEEL PIPE NIPPLE BLACK AND GALVANIZED
Price Sheet Effective August 09, 2018 Supersedes CWN-218 A Member of The Phoenix Forge Group CapProducts LTD. Phone: 519-482-5000 Fax: 519-482-7728 Toll Free: 800-265-5586 www.capproducts.com www.capitolcamco.com
More information,., [~== -I ] ~y_/5 =- 21 Y -/ Y. t. \,X ::: 3J ~ - 3. Test: Linear equations and Linear inequalities. At!$fJJ' ~ dt~ - 5 = -7C +4 + re -t~ -+>< 1- )_
CST 11 Math - September 16 th, 2016 Test: Linear equations and Linear inequalities NAME: At!$fJJ' ~ Section: MCU504: -- - 86 1100 1. Solve the equations below: (4 marks) 2 5 a) 3("3 x -"3) = - x + 4 /{J1:x
More information