List of commits:
Subject Hash Author Date (UTC)
Changed the monospace font, updated instructions to install mariaDB. 3dc6162733e0a373205012869c1ee068ef3e5c91 aubert@math.cnrs.fr 2019-08-16 18:56:37
Few patches to prepare for Fall 2019. 545561b3d47dfe9bff2436f8f2b7e32572cd808a aubert@math.cnrs.fr 2019-08-07 17:12:26
Editing the cycle of design picture 9bd1c3190a71202b88011b831161cf9d6a365237 aubert@math.cnrs.fr 2019-08-07 16:13:03
Test c742ba7590d59e2941f9fa197c9d009d5c642e76 au 2019-07-31 23:56:14
Minor fix in Known bugs and contrib. 19f3adfa1f88e6d12e94868f4eab0b5838d05eb6 aubert@math.cnrs.fr 2019-07-29 20:51:14
Commit 2ed1a8532cbdae46d3feb99cf52f23f2afa144ec aubert@math.cnrs.fr 2019-07-29 19:01:36
Adding the final to the notes. 0e8848a3e67ec49bab5b767e25d6099fd218e417 aubert@math.cnrs.fr 2019-05-20 14:44:54
Added the solution to one of the problem from Exam #2. 625545a335c5dc7b7303355088a3abba999fdf40 aubert@math.cnrs.fr 2019-05-06 16:59:50
Added a solution to one of the problem of Exam #2, and added the last quiz. 4e0ee25d509412e5e455d9ad4c98f7aad8c5a354 aubert@math.cnrs.fr 2019-04-19 15:14:10
A few glitches in the first java programs patched, added the alternative version to the source. 48611244d21515269bae041dc2535b7e08fb5877 aubert@math.cnrs.fr 2019-04-04 22:05:03
patching a few glitches with the java code and the mysql code used in the demo for the first program. 0fcb73dcc60aef476899c4efea092c99dd6027db aubert@math.cnrs.fr 2019-04-04 21:55:55
Tidying up a program. dd409ab3fd6736af4b8adaac284ee101b9770f60 aubert@math.cnrs.fr 2019-04-04 19:02:21
Correcting the chapter on db programming. 484c4a6372056106bae77e48b397c1174738fc26 aubert@math.cnrs.fr 2019-04-04 18:57:50
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
Commit 3dc6162733e0a373205012869c1ee068ef3e5c91 - Changed the monospace font, updated instructions to install mariaDB.
Author: aubert@math.cnrs.fr
Author date (UTC): 2019-08-16 18:56
Committer name: aubert@math.cnrs.fr
Committer date (UTC): 2019-08-16 18:56
Parent(s): 545561b3d47dfe9bff2436f8f2b7e32572cd808a
Signing key:
Tree: 8a941fa4171e6988317d71b455c32086bdb83b13
File Lines added Lines deleted
notes/latex/packages.sty 7 1
notes/lectures_notes.md 20 8
File notes/latex/packages.sty changed (mode: 100644) (index a27f5f7..8b7fbfe)
4 4 %\setmonofont{Latin Modern Mono Light} %\setmonofont{Latin Modern Mono Light}
5 5 %\setmonofont[SmallCapsFont={Latin Modern Mono Caps}]{Latin Modern Mono Light} %\setmonofont[SmallCapsFont={Latin Modern Mono Caps}]{Latin Modern Mono Light}
6 6 %\newfontfamily\symb{DejaVu Sans} %\newfontfamily\symb{DejaVu Sans}
7 \setmonofont{FreeMono}
8 % Inconsolata : Unfortunately, bold, italics missing, and no "_" character.
9 % Cf. https://www.levien.com/type/myfonts/inconsolata.html
10 % and
11 % https://github.com/DeLaGuardo/Inconsolata-LGC
12 % though.
7 13
8 14 %\usepackage[table]{xcolor} %\usepackage[table]{xcolor}
9 15 \usepackage{xunicode} \usepackage{xunicode}
 
28 34 pdfinfo={ pdfinfo={
29 35 pdfcopyright={Creative Commons Attribution 4.0 International License} pdfcopyright={Creative Commons Attribution 4.0 International License}
30 36 } }
31 }
37 }
File notes/lectures_notes.md changed (mode: 100644) (index 15d6c5c..3a71369)
... ... The focus will be on design, but we will have to do a little bit of everything.
242 242
243 243 Refer to the ["The cycle of design" figure](#fig:cycle). Refer to the ["The cycle of design" figure](#fig:cycle).
244 244
245 Add a line from SQL to Program, a line from NoSQL to CLI.
246 Make the arrow from Bus. Statements to NoSQL dashed?
247
248 245 --- ---
249 246
250 247 ## An Example ## An Example
 
... ... Cf. [@Textbook6, 5.1.1], [@Textbook7, 7.1.1]
1658 1655
1659 1656 > What is the email address of an author of the XIXth century? > What is the email address of an author of the XIXth century?
1660 1657
1661 ### Comparison with unknown values {truth_tables}
1658 ### Comparison with unknown values {#truth-tables}
1662 1659
1663 1660 If `NULL` is involved in a comparison, the result evaluates to "**U**nknown". If `NULL` is involved in a comparison, the result evaluates to "**U**nknown".
1664 1661
 
... ... The following links could be useful:
2021 2018 mysql > mysql >
2022 2019 ~~~ ~~~
2023 2020
2021 #. Now, move on to ["Creating an User"](#creating-an-user).
2024 2022
2025 2023 #### Installing MySQL on macOS #### Installing MySQL on macOS
2026 2024
 
... ... You are now logged as root in your database management system, you should see a
2040 2038 mysql > mysql >
2041 2039 ~~~ ~~~
2042 2040
2041 Now, move on to ["Creating an User"](#creating-an-user).
2042
2043
2043 2044 #### Installing MariaDB on Linux #### Installing MariaDB on Linux
2044 2045
2045 #. Install, through your standard package management system (`apt` or `aptitude` for debian-based systems, `pacman` for Arch Linux, etc.), the packages `mysql-client` and `mysql-server` as well as their dependencies^[Yes, the package is called `mysql-server`, but it actually install the package `mariadb-server-10.1`… So don't be confused: *we are, indeed, installing MariaDB*!].
2046 #. Install, through your standard package management system (`apt` or `aptitude` for debian-based systems, `pacman` for Arch Linux, etc.), the packages `mysql-client` and `mysql-server` (or `default-mysql-client` and `default-mysql-server`) as well as their dependencies^[Yes, the package is called `mysql-server`, but it actually install the package `mariadb-server-10.3` or higher… So don't be confused: *we are, indeed, installing MariaDB*!].
2046 2047 #. Open a terminal and type #. Open a terminal and type
2047 2048
2048 2049 ~~~{.bash} ~~~{.bash}
2049 2050 /etc/init.d/mysql status /etc/init.d/mysql status
2050 2051 ~~~ ~~~
2052
2053 or, as root,
2054
2055 ~~~{.bash}
2056 service mysql status
2057 ~~~
2051 2058
2052 to see if MySQL is running: if you read
2059 to see if MySQL is running: if you read something containing
2053 2060
2054 2061 ~~~{.bash} ~~~{.bash}
2055 2062 Active: active (running) Active: active (running)
 
... ... mysql >
2060 2067 ~~~{.bash} ~~~{.bash}
2061 2068 service mysqld start service mysqld start
2062 2069 ~~~ ~~~
2070
2071 and try again.
2063 2072
2064 2073 #. As root, type in your terminal #. As root, type in your terminal
2065 2074
 
... ... mysql >
2082 2091 MariaDB [(none)]> MariaDB [(none)]>
2083 2092 ~~~ ~~~
2084 2093
2085 ### Creating an user
2094 #. Now, move on to ["Creating an User"](#creating-an-user).
2095
2096
2097 ### Creating an user {#creating-an-user}
2086 2098
2087 2099 This step will create a non-root user^[By default, MySQL and MariaDB only create a root user with all privileges and no password, but we added a password at the previous step.] and grant it some rights. Copy-and-paste or type the following three commands, one by one (that is, enter the first one, hit "enter", enter the second, hit "enter", etc.): This step will create a non-root user^[By default, MySQL and MariaDB only create a root user with all privileges and no password, but we added a password at the previous step.] and grant it some rights. Copy-and-paste or type the following three commands, one by one (that is, enter the first one, hit "enter", enter the second, hit "enter", etc.):
2088 2100
 
... ... Solution +.#
2646 2658 - `FALSE AND UNKNOWN`{.sqlmysql} → `FALSE`{.sqlmysql} - `FALSE AND UNKNOWN`{.sqlmysql} → `FALSE`{.sqlmysql}
2647 2659 - The other cases can be deduced by symmetry. - The other cases can be deduced by symmetry.
2648 2660
2649 For a more compact presentation, refer to (#truth_tables).
2661 For a more compact presentation, refer to (#truth-tables).
2650 2662
2651 2663 Solution +.# Solution +.#
2652 2664
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