by zergu · 4y ago · 0 comments
This example makes it pretty clear: https://en.wikipedia.org/wiki/Finitary_relation#Example
I always thought it was referring to foreign keys too. Pretty bad name in hindsight.
I couldn’t make up a more misleading name if my life depended on it..
EDIT: Reading the page in more detail, it seems to me relational means both. Indeed each field of a row has a relationship (they belong to the same row after all), but there are other kinds of relationships like one-to-many achieved by foreign keys.
Eg.: each row of a class table corresponds to a class, and a class corresponds to multiple students, so the relationship between the class table and the student table is "one to many"