apple_table belongs to fruit_table. (1) Which table must have a foreign key? (2) What does that foreign key correspond to?(3) Which is the child and which is the parent?(4) How would you describe fruit_table's relationship to apple_table?

🎲 Try a Random Question  |  Total Questions in Quiz: 189  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
SQL Basics with SQLite and PostgreSQL (Questions) — practice the complete quiz, review flashcards, or try a random question.

SQLite is an Embedded DBMS. This means that it is a Serverless DBMS with the ability to run within your applications.

PostgreSQL DBMS implements a Client-Server Model and requires a Database Server to set up and run over a network.

SQLite vs PostgreSQL: SQLite is very fast, thanks to its minimal design and simple operations. SQLite is for you if all you require is fast read operations. PostgreSQL is more suitable for complex operations.


1. apple_table belongs to fruit_table. (1) Which table must have a foreign key? (2) What does that foreign key correspond to?(3) Which is the child and which is the parent?(4) How would you describe fruit_table's relationship to apple_table?