Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Added solution to first problem of Exam 2. | 45881a9b8ab1e5a0071b58d72362059593365d52 | aubert@math.cnrs.fr | 2019-04-03 18:38:48 |
Quick note in Java programming. | 625282d4fece1f6a7a617a8c9bcf7c3c856185b3 | aubert@math.cnrs.fr | 2019-04-02 18:42:48 |
Added exam #2 | 0aa6788451b34cb6371fed5a0f719a4ac52cf0c8 | aubert@math.cnrs.fr | 2019-04-01 18:37:43 |
Fixing a typo. | 502262b742ac86d7b3d5e95a0f9fcd7ca3a6e586 | aubert@math.cnrs.fr | 2019-03-22 17:35:43 |
Forgot one figure. | 1212e57a5f2e7b2f104f432feb4dce0669cdb452 | aubert@math.cnrs.fr | 2019-03-22 17:32:36 |
Working on Ch. 4, adding the content of the weekly announcements to the core of the document, added illustrations on the conversion E.R. -> Rel. model, fixed various typos. | 1995837f41c1508ae809d5a91065bdefd5bd6c03 | aubert@math.cnrs.fr | 2019-03-22 17:27:51 |
Fixing exercise and normalization in Chapter 4. | 7aa4b9a581daf7144dd485ba791b7707585088b8 | aubert@math.cnrs.fr | 2019-03-20 18:55:42 |
Quick fix on UML diagrams. | 86a52b2f6ce92750bdb2c33eaa4dbc4497322e1c | aubert@math.cnrs.fr | 2019-03-18 18:37:24 |
Adding some missing files. | 0c090f6d43e84b71ca5e1f6d3e8d1aa0d733824d | aubert@math.cnrs.fr | 2019-03-18 18:28:32 |
Fixing the style for line numbers, adding information for weak entities, drawing some figures (for crow's notation, for alternative notations), removing various images. | 26ce9a96701649988cfdfcb3e61011f4e154896d | aubert@math.cnrs.fr | 2019-03-18 18:25:09 |
Added solution to quiz #4. | db0de8ba5c6605d77fdbc076f3a9e5b3851d83e0 | aubert@math.cnrs.fr | 2019-03-15 20:57:13 |
Added questions for Quiz #4. | 30d908601e9431ec0901d4001ddbf99bf14f75d0 | aubert@math.cnrs.fr | 2019-03-15 17:52:24 |
Worked on narrative in Chapter 4, mostly ER diagrams. | 9e0cc5fc5a2b4087fe1191f1ba5926f87ad5a7bd | aubert@math.cnrs.fr | 2019-03-12 18:57:16 |
Updated list of known bugs. | d51ff0a5bb73f09eb8d3eb7520ebb77555911e69 | aubert@math.cnrs.fr | 2019-03-12 17:09:22 |
Updating the README with the list of new files. | bb35e21746d958d649b226a5857150d975d85403 | aubert@math.cnrs.fr | 2019-03-07 15:20:04 |
Adding a list of bug, and the sketch of a guide to contribute. | 3a94b1fa49aee97001a45325f3f10f09475bf388 | aubert@math.cnrs.fr | 2019-03-07 15:14:38 |
Fixed the size of the images, added mention of the support of Affordable Learning Georgia. | 485cf486d8d2b08427e5d02eda56d5b7a9495b38 | aubert@math.cnrs.fr | 2019-03-05 19:37:39 |
Finishing homework #5. | e322bc945941083b0649557d9ad6bdbb8308c10c | aubert@math.cnrs.fr | 2019-03-04 15:10:15 |
Preparing homework 5 | 2b9ba64d1d36ae9f413929947cac5e6cddceb3dc | aubert@math.cnrs.fr | 2019-03-01 20:06:12 |
Some fixes and added quiz #3. | d73c356f1bec9679f7123bc508c1863f8de40aef | aubert@math.cnrs.fr | 2019-02-28 20:34:04 |
File | Lines added | Lines deleted |
---|---|---|
notes/fig/er/Job.tex | 64 | 0 |
notes/lectures_notes.md | 6 | 3 |
File notes/fig/er/Job.tex added (mode: 100644) (index 0000000..45ae464) | |||
1 | \documentclass[border=20pt]{standalone} | ||
2 | \input{template.def} | ||
3 | |||
4 | \begin{tikzpicture}[node distance=1.5cm] | ||
5 | \node[entity] (COMPANY) {COMPANY}; | ||
6 | \node[attribute] [above of=COMPANY] {\key{Name}} edge (COMPANY); | ||
7 | \node[attribute] (Address) [right = .5cm of COMPANY] {Address} edge (COMPANY); | ||
8 | \node[attribute] [right = .5cm of Address] {Physical} edge (Address); | ||
9 | \node[attribute] [below right = .5cm of Address] {Numerical} edge (Address); | ||
10 | \node[multi attribute] [above right = .5cm of COMPANY] {Benefits} edge (COMPANY); | ||
11 | % | ||
12 | \node[relationship] (ADVERTISEDBY) [left = 1.5cm of COMPANY] {ADVERTISED\_BY} edge node[above, pos=0.4] {$\c1$} (COMPANY); | ||
13 | \node[attribute] [above = .3cm of ADVERTISEDBY] {URL} edge (ADVERTISEDBY); | ||
14 | % | ||
15 | \node[entity] (JOBAD) [left = 1.5cm of ADVERTISEDBY] {JOB\_AD} edge[total] node[above, pos=0.6]{$\cM$} (ADVERTISEDBY); | ||
16 | \node[attribute] [above left of = JOBAD] {Title} edge (JOBAD); | ||
17 | \node[attribute] [left = .5cm of JOBAD] {Salary Range} edge (JOBAD); | ||
18 | \node[multi attribute] [below left = .5cm of JOBAD] {Requirement} edge (JOBAD); | ||
19 | \node[attribute] [above right of = JOBAD] {\key{id}} edge (JOBAD); | ||
20 | % | ||
21 | \node[relationship] (EMPLOYS) [below =0.8cm of COMPANY] {EMPLOYS} edge node[right, pos=0.4] {$\cN$} (COMPANY); | ||
22 | % | ||
23 | \node[entity] (CONTACT) [below left = 3cm and 2cm of COMPANY] {CONTACT} edge node[above, pos=0.4] {$\cM$} (EMPLOYS); | ||
24 | \node[attribute] [right = .5cm of CONTACT] {Name} edge (CONTACT); | ||
25 | \node[attribute] [below right = .5cm and .2cm of CONTACT] {\key{Id}} edge (CONTACT); | ||
26 | \node[attribute] [below = .5cm of CONTACT] {Role} edge (CONTACT); | ||
27 | % | ||
28 | \node[relationship] (DISCUSSED) [below right = 0.8cm and 1cm of JOBAD] {DISCUSSED\_BY} edge node[right, pos=0.4] {$\cN$} (CONTACT) edge node[above, pos=0.4] {$\cM$} (JOBAD); | ||
29 | % \node[relationship] (REPAIREDBY) [below right =3cm of JOBAD] {REPAIRED\_BY} edge node[below, pos=0.6] {$\cM$} (JOBAD) edge node[below, pos=0.6] {$1$} (CONTACT); | ||
30 | % | ||
31 | |||
32 | \node[weak entity] (OFFER) [below = 5cm of JOBAD] {OFFER}; | ||
33 | |||
34 | \node[attribute] [left = 0.5cm of OFFER] {Salary Offered} edge (OFFER); | ||
35 | \node[attribute] [below left = 0.5cm of OFFER] {Start Date} edge (OFFER); | ||
36 | |||
37 | \node[ident relationship] (RESULTEDIN) [below = 1 cm of JOBAD] {RESULTED\_IN} edge node[right, pos=0.4] {$1$} (JOBAD) edge[total] node[left]{$1$} (OFFER); | ||
38 | |||
39 | \node[attribute] [below of = OFFER] {\pkey{Date}} edge (OFFER); | ||
40 | |||
41 | %\node[entity] (COMPANY) {COMPANY}; | ||
42 | % | ||
43 | % | ||
44 | % | ||
45 | %\node[relationship] (SPEAKS) [below right of=COMPANY] {SPEAKS} edge node[right, pos=0.4] {$M$} (COMPANY); | ||
46 | %\node[entity] (LANGUAGE) [below right of=SPEAKS] {LANGUAGE} edge node[right, pos=0.5] {$N$} (SPEAKS); | ||
47 | %\node[attribute] (code) [left of = LANGUAGE] {\key{Code}} edge (LANGUAGE); | ||
48 | %\node[attribute] (symbol) [right of = LANGUAGE] {Name} edge (LANGUAGE); | ||
49 | % | ||
50 | %\node[relationship] (BWF) [below of = LANGUAGE] {B\_W\_F}; | ||
51 | %\draw (LANGUAGE) to node[left, pos=0.6] {$N$} (BWF.west); | ||
52 | %\draw (LANGUAGE) to node[right, pos=0.6] {$M$} (BWF.east); | ||
53 | % | ||
54 | % | ||
55 | %\node[multi attribute] (color) [right =1cm of anthem] {Creator} edge (anthem); | ||
56 | |||
57 | % | ||
58 | %\node[relationship] (WIN) [above right of =LANGUAGE] {W\_IN}; | ||
59 | %\draw (LANGUAGE) to node[left, pos=0.6] {$N$} (WIN); | ||
60 | %\draw (anthem) to node[right, pos=0.6] {$M$} (WIN); | ||
61 | |||
62 | \end{tikzpicture} | ||
63 | |||
64 | \end{document} |
File notes/lectures_notes.md changed (mode: 100644) (index 6246f1b..5806c4f) | |||
... | ... | Solution to [%D %n (%T)](#problem:car-insurance) | |
5620 | 5620 | ||
5621 | 5621 | --- | --- |
5622 | 5622 | ||
5623 | <!-- | ||
5624 | 5623 | Solution to [%D %n (%T)](#problem:job-offers) | Solution to [%D %n (%T)](#problem:job-offers) |
5625 | 5624 | ~ | ~ |
5626 | 5625 | ||
5627 | To be written. | ||
5626 | A possible solution is: | ||
5628 | 5627 | ||
5628 |  | ||
5629 | \ | ||
5630 | |||
5631 | Note that CONTACT could be a weak entity, with the identifying relationship being either DISCUSSED_BY or EMPLOYS, but both have disadvantages, since they would disallow a CONTACT to discuss more than one offer, or to be hired by more than one company. | ||
5632 | |||
5629 | 5633 | --- | --- |
5630 | --> | ||
5631 | 5634 | ||
5632 | 5635 | Solution to [%D %n (%T)](#problem:ERtoRELBike) | Solution to [%D %n (%T)](#problem:ERtoRELBike) |
5633 | 5636 | ~ | ~ |