When designing a schema for a SQL database in Node.js, the ______ key is used to establish a relationship between two tables.
- Foreign
- Index
- Primary
- Composite
When designing a schema for a SQL database in Node.js, the Foreign Key is used to establish a relationship between two tables. It creates a link between a field in one table and the primary key of another table, enabling data integrity and referential integrity.
Loading...
Related Quiz
- How can you import a specific item from a module in ES6+?
- What is the primary difference between OAuth 1.0 and OAuth 2.0?
- The ______ event of the request object in the http module is emitted when the request body is being received.
- Why is caching used in web applications?
- In semantic versioning, what does a change in the 'patch' version (e.g. 1.2.3) typically indicate?