SQLite versie#

Deze SQL-cursus is onderdeel van het SQL-verdiepingsmateriaal bij het keuzethema “Databases”. Dit materiaal is beschikbaar onder de open source CC-BY licentie.

De oorspronkelijke MySQL-versie van dit materiaal is ontwikkeld door Frans Peeters, in opdracht van SLO. Die versie is te vinden via https://sql.informaticavo.nl/index.html

Deze versie is is omgezet van MySQL naar SQLite, in het Jupyter Book formaat, door Eelco Dijkstra. Bij deze versie horen Jupyter Notebooks (Basthon Notebooks) waarin de opdrachten uitgewerkt kunnen worden: je hebt daarbij geen afzonderlijk database-systeem nodig.

Voor twee onderdelen wijkt de SQLite-versie nogal af van de MySQL versie. In die gevallen is de oorspronkelijke versie behouden naast de SQLite-versie.

De voorbeeld-database#

De voorbeeld-database (“employees”) is afgeleid van het “HR” deel van de Oracle voorbeeld-database. De oorspronkelijke database is te vinden op GitHub:

Een beschrijving van deze database vind je hier:

Een aanpassing van deze Oracle-database naar MySQL is ook te vinden op GitHub:

De Oracle database heeft een open source licentie (“BY”); de licentie vind je hier:

Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

De MySQL-versie is aangepast aan SQLite door Eelco Dijkstra.