List of commits:
Subject Hash Author Date (UTC)
Cleaning images. ac02dcf8ffbbbd24139491e5d1e349ace782401e aubert@math.cnrs.fr 2020-05-13 17:40:43
Started to spell-check… 799dc31237aa41176687f37306ca4092a7760f89 aubert@math.cnrs.fr 2020-05-13 17:17:06
Added foldable toc to readme and co. 07854a4e108c91c55a40fbd10ed84336b885b93f aubert@math.cnrs.fr 2020-05-13 16:51:17
Added final exam. fb37cf99312795016ddbc2e859b055051bcedd13 aubert@math.cnrs.fr 2020-05-08 21:11:57
Refined ccs style + added foldable toc. 95b1663a7b8294dd401d796fb545a67bddba0a01 aubert@math.cnrs.fr 2020-05-07 19:02:27
Refined ccs style + added foldable toc. c208eee4f769e99415efa57a7f03081db87ec3db aubert@math.cnrs.fr 2020-05-07 18:02:53
Fixing indent in xml and notes. ace8f38f8e0374005d143ebaa32d47a209fb5a48 aubert@math.cnrs.fr 2020-04-27 18:42:28
NoSQL application detailled. f2030de09eb58462e04935ec83c71d3c1fc72469 aubert@math.cnrs.fr 2020-04-27 18:28:02
Added automatic anchors. 2ddb93394121bcf95f91bfed8b447966925afa6f aubert@math.cnrs.fr 2020-04-27 05:35:14
added missing file 480b503949518eb51fd324a6f6bbb8f6d5643f0d aubert@math.cnrs.fr 2020-04-24 02:11:09
Worked on MongoDB section. 70f041d53a14bbb5ace0a4ef40f3e67eca285309 aubert@math.cnrs.fr 2020-04-22 19:18:55
Edited KNOWN_BUGS. b90ca71b498016b17963373ead24873781181bfd aubert@math.cnrs.fr 2020-04-22 05:12:14
Minor edits on narrative. d927955c1269ff1b110057577e50705fd41f4e2d aubert@math.cnrs.fr 2020-04-22 05:07:48
Worked on migrating code to snippets. 1ce6f6ba150a1cace57445330801e8b17f6c3044 aubert@math.cnrs.fr 2020-04-22 04:15:37
Edited Sol of 4.28, Pb and Sol of 4.29, checked Pb 4.30, edited Pb 4.31, edited the DB Applications Resources section, checked Pb 5.1, edited Pb 5.2 and Sol 5.2, Pb and Sol of 6.1, Pb 7.1, checked Pb 7.2, edited Sol 7.2, Pb and Sol of Pb 7.3, checked Ex 7.1 and edited its solution, checked Ex 7.2 and edited its solution, edited Ex and Sol of 7.3, Ex and Sol of 7.4 edited Ex 7.5 and checked its solution, edited Ex and Sol of 6.1, Ex and Sol of 6.2, checked Ex 6.3 and edited its solution, checked Ex 5.1 and edited its solution, checked Ex 5.2 and edited its solution, edited Ex and Sol of 5.3, checked Ex and Sol of 5.4, checked Ex 5.5 and edited its solution, and edited Ex and Sol of 5.6. 6580a85df655eddd149bb5531a0615ddfe9f810e Crystal 2020-04-22 03:02:20
Disabled Scrolling of sql files in html and enabled resize option 87d4ef4185fe48a7503724eb98a6c486c351ddee pveeral@augusta.edu 2020-04-21 15:49:36
Updated list of bugs. 17827a6a5b127fa6449b495c1e07359da4682100 aubert@math.cnrs.fr 2020-04-20 19:24:01
Worked on nosql chapter. 38dfcfffce7c06d0eab7256a7a5be1e2481a8505 aubert@math.cnrs.fr 2020-04-20 17:52:55
ALT in img folder 6e6469575d825f6c7360b88d6b387aee709b643c pveeral@augusta.edu 2020-04-20 15:26:47
Cleaned up bib file. 505b1000bca31e4d833bf7739d02d2b7e727e69b aubert@math.cnrs.fr 2020-04-20 05:03:18
Commit ac02dcf8ffbbbd24139491e5d1e349ace782401e - Cleaning images.
Author: aubert@math.cnrs.fr
Author date (UTC): 2020-05-13 17:40
Committer name: aubert@math.cnrs.fr
Committer date (UTC): 2020-05-13 17:40
Parent(s): 799dc31237aa41176687f37306ca4092a7760f89
Signer:
Signing key:
Signing status: N
Tree: 1cf51be525a35755272970e6c8f8a271e30c7b02
File Lines added Lines deleted
notes/fig/er/ternary_prescription.tex 10 0
notes/fig/er/ternary_president.tex 10 0
notes/img/connector.png 0 0
notes/img/database_system.jpeg 0 0
notes/img/fig1.1.jpeg 0 0
notes/lectures_notes.md 20 0
notes/style/style.css 1 1
File notes/fig/er/ternary_prescription.tex added (mode: 100644) (index 0000000..6d3c40f)
1 \documentclass[border=20pt]{standalone}
2 \input{template.def}
3
4 \begin{tikzpicture}[node distance=5em]
5 \node [entity] (PATIENT) {PATIENT};
6 \node [relationship] (PRESCRIPTION) [right=of PATIENT] {PRESCRIPTION} edge node[above]{$\cP$} (PATIENT);
7 \node [entity] [right = of PRESCRIPTION] {TREATMENT} edge node[above]{$\cN$} (PRESCRIPTION);
8 \node [entity] [below = of PRESCRIPTION] {PHYSICIAN} edge node[left]{$\cM$} (PRESCRIPTION);
9 \end{tikzpicture}
10 \end{document}
File notes/fig/er/ternary_president.tex added (mode: 100644) (index 0000000..ff66973)
1 \documentclass[border=20pt]{standalone}
2 \input{template.def}
3
4 \begin{tikzpicture}[node distance=5em]
5 \node [entity] (CITIZEN) {CITIZEN};
6 \node [relationship] (PRESIDE) [right=of CITIZEN] {PRESIDE} edge node[above]{$1$} (CITIZEN);
7 \node [entity] [right = of PRESIDE] {COUNTRY} edge node[above]{$1$} (PRESIDE);
8 \node [entity] [below = of PRESIDE] {TERM} edge node[left]{$\cM$} (PRESIDE);
9 \end{tikzpicture}
10 \end{document}
File notes/img/connector.png deleted (index 4e719c3..0000000)
File notes/img/database_system.jpeg deleted (index 200257b..0000000)
File notes/img/fig1.1.jpeg deleted (index 200257b..0000000)
File notes/lectures_notes.md changed (mode: 100644) (index 179709e..c9a36de)
... ... Another wording for the same idea can be found [in this thread](https://stackove
5164 5164 Four our example, Customer Y and Bank Z could be in relationship with more than one account (hence the "N"). Four our example, Customer Y and Bank Z could be in relationship with more than one account (hence the "N").
5165 5165 On the opposite, Customer Y and Account K would be in relationship with only one bank (hence the "1" on the bottom), and Bank Z and Account K would belong to only one customer (hence the "1" on the left). On the opposite, Customer Y and Account K would be in relationship with only one bank (hence the "1" on the bottom), and Bank Z and Account K would belong to only one customer (hence the "1" on the left).
5166 5166
5167 Let us look at two other examples.
5168 First, assume we want to collect information about the treatment prescribed by physicians to patients, we could use a relationship like the following one:
5169
5170 ![](fig/er/ternary_prescription)
5171
5172 Where
5173
5174 - The "P" stands for the fact that the same physician can prescribe the same treatment to multiple patients,
5175 - The "N" stands for the fact that different treatment can be prescribe by the same physiciant to the same patient,
5176 - The "M" stands for the fact that the same patient can get the same treatment from different physicians.
5177
5178 Now, if we want to store information about who is the president of a country during a term, we could get something like:
5179
5180 ![](fig/er/ternary_president)
5181
5182 Note that this representation of the data assumes that a citizen cannot be the president of two different countries during the same term (the right 1), which could be debatable.
5183
5167 5184 It is sometimes impossible to do without relations with arity greater than $2$. It is sometimes impossible to do without relations with arity greater than $2$.
5168 5185 For instance, consider the following two diagrams^[Where the "BOOK" entity does not refer to one particular physical copy of a book, but to books in general, i.e., "The book on my shelf" (physical copy) as opposed to "_The Wizard of Oz_" (general).]: For instance, consider the following two diagrams^[Where the "BOOK" entity does not refer to one particular physical copy of a book, but to books in general, i.e., "The book on my shelf" (physical copy) as opposed to "_The Wizard of Oz_" (general).]:
5169 5186
 
... ... An example of relation of degree $4$ could be:
5184 5201 ![](fig/er/teaches) ![](fig/er/teaches)
5185 5202
5186 5203
5204 The cardinality ratio are computed using the same method as described before.
5205
5206
5187 5207 --- ---
5188 5208
5189 5209
File notes/style/style.css changed (mode: 100644) (index e125865..944e6a9)
... ... a, label {
131 131 color: #2e4683; color: #2e4683;
132 132 } }
133 133
134 a:hover, a:target {
134 a:hover, li:target {
135 135 background: linear-gradient(#cdcdcd, #bcbcbc); background: linear-gradient(#cdcdcd, #bcbcbc);
136 136 } }
137 137
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/caubert/CSCI_3410

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/caubert/CSCI_3410

Clone this repository using git:
git clone git://git.rocketgit.com/user/caubert/CSCI_3410

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main