Define the term Tuple and foreign key ?
Answers
Follow me ❤
Down 》》》
A) A tuple is a sequence of immutable Python objects. Tuples are sequences, just like lists. The differences between tuples and lists are, the tuples cannot be changed unlike lists andtuples use parentheses, whereas lists use square brackets. Creating a tuple is as simple as putting different comma-separated values
b )In the context of relational databases, a foreign key is a field in one table that uniquely identifies a row of another table or the same table. In simpler words, the foreign key is defined in a second table, but it refers to the primary key or a unique key in the first table
Answer
⬇️⬇️
✍️✍️
✳️the foreign key:-
it is defined in a second table, but it refers to the primary key or a unique key in the first table. ... In database relational modeling and implementation, a unique key is a set of zero or more attributes, the values of which are guaranteed to be unique for each tuple (row) in a relation.✔️✔️
✳️Tuple:-
In mathematics, a tuple is a finite ordered list (sequence) of elements. An n-tuple is a sequence (or ordered list) of n elements, where n is a non-negative integer. There is only one 0-tuple, an empty sequence, or empty tuple, as it is referred to. An n-tuple is defined inductively using the construction of an ordered pair.✔️✔️
☺️ThAnKs✳️✳️
@ArJuN$❇️❇️❤️❤️