-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional Text for "What is a relational database?" #16
Comments
This note is submitted as part of the instructor checkout process. One of the reasons I was drawn to participating in the carpentries is how it blends subject matter expertise with fundamental principles of curation and information governance commonly expressed in library and archival settings. Although the linking of the carpentries methods to existing international standards is an important overall goal (and one which occupies a good deal of my data analysis work at UCSD) - I wanted to follow the guidance to make a substantive (but small) contribution to an existing issue. background User 'andrewnolanhall' From https://github.com/andrewnolanhall Mr Hall is a PhD candidate at Northwestern University who provided updated text touching on four types of foreign keys. When I read his (excellent) contribution - I was reminded as I often am that the International organization for standardization ISO and the International electrotechnical commission IEC are the primary entities establishing a specialized system for worldwide standardization. Practicing archivists (especially) and librarians are often confronted with terms and concepts that other have developed which differ from or otherwise increase the amount of ambiguity surrounding core concepts. As an example consider 'A glossary of archival and records terminology' published by the Society of American Archivists based primarily on archival literature from the US and Canada, see < http://bit.ly/2MCxxls >. Next consider 'The United Nations Terminology Database' which publishes terms in the six UN official languages, German and Portugese. From https://unterm.un.org/UNTERM/portal/welcome In developing the different lesson within the Carpentries I would mention in some respect an ISO term that equates with the tasks at hand - given the learner / user a point that is almost universally accepted as a probably the 'best' or 'fittest' definition of a term or concept. In connection with Mr Hall's note I would include the following (from ISO/IEC/IEE 24765:2017(en) Systems and software engineering - vocabulary): 3.136 From https://www.iso.org/obp/ui/#iso:std:iso-iec-ieee:24765:ed-2:v1:en 3.471 From https://www.iso.org/obp/ui/#iso:std:iso-iec-ieee:24765:ed-2:v1:en 3.704 From https://www.iso.org/obp/ui/#iso:std:iso-iec-ieee:24765:ed-2:v1:en 3.1632 From https://www.iso.org/obp/ui/#iso:std:iso-iec-ieee:24765:ed-2:v1:en 3.3011 From https://www.iso.org/obp/ui/#iso:std:iso-iec-ieee:24765:ed-2:v1:en 3.3906 From https://www.iso.org/obp/ui/#iso:std:iso-iec-ieee:24765:ed-2:v1:en In my view, jumping off from these firmly established definitions (and better still coded) terms gives learners / users exceptional standards based guidance and confidence when applying the concepts to their own work or use cases. |
Here is some suggested text for inclusion in the "What different types of keys are there?" section in the "What is a relational database" lesson.
Original text: "In addition to the primary key, a table may have one or more Foreign keys. A foreign key does not have to be unique or identified as a foreign key when the table is created. A foreign key in one table will relate to the primary key in another table. This allows a relationship to be created between the two tables. If a table needs to be related to several other tables, then there will be a foreign key (column) for each of those tables."
Updated Text:
In addition to the primary key, a table may have one or more Foreign keys. A foreign key does not have to be unique or identified as a foreign key when the table is created. A foreign key in one table will relate to the primary key in another table. This allows a relationship to be created between the two tables. If a table needs to be related to several other tables, then there will be a foreign key (column) for each of those tables.
There are multiple types of Foreign keys and the specific type of interest to you will depend on your data usage needs. The following four keys can help in conceptualizing the type of key you need:
The text was updated successfully, but these errors were encountered: