2020-04-06 14:49:56 -04:00
|
|
|
---
|
|
|
|
id: 5e7b9f180b6c005b0e76f08d
|
2020-04-21 23:37:02 -05:00
|
|
|
title: Representing Relationships in a Relational Database
|
2020-04-06 14:49:56 -04:00
|
|
|
challengeType: 11
|
|
|
|
videoId: -orenCNdC2Q
|
|
|
|
---
|
|
|
|
|
|
|
|
## Description
|
|
|
|
<section id='description'>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
## Tests
|
|
|
|
<section id='tests'>
|
|
|
|
|
|
|
|
```yml
|
|
|
|
question:
|
2020-05-31 13:57:09 +01:00
|
|
|
text: |
|
|
|
|
What is a foreign key?
|
|
|
|
|
2020-04-06 14:49:56 -04:00
|
|
|
answers:
|
2020-05-31 13:57:09 +01:00
|
|
|
- |
|
|
|
|
A key that is not supposed to be there.
|
|
|
|
- |
|
|
|
|
A key that uses non-latin characters.
|
|
|
|
- |
|
|
|
|
A number that points to the primary key of an associated row in a different table.
|
|
|
|
- |
|
|
|
|
A key that the "real world" might use to look up a row.
|
2020-04-06 14:49:56 -04:00
|
|
|
solution: 3
|
|
|
|
```
|
|
|
|
|
|
|
|
</section>
|