Add a foreign key constraint to the movie table: the column prod_id is the foreign key, referencing the column id from the production table (use sql) following is movie and production table
Add a foreign key constraint to the movie table: the column prod_id is the foreign key, referencing the column id from the production table (use sql) following is movie and production table
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Add a foreign key constraint to the movie table: the column prod_id is the foreign key, referencing
the column id from the production table (use sql)
following is movie and production table

Transcribed Image Text:| id title
+----
|
1 | ABOMINABLE
| 2 | Hotel Transylvania
|
3 | Onward
|
4 | Sing
5
6 |
7
| 2019 |
| 2012 |
| 2020 |
| 2016 |
The SpongBob Movie | 2020 |
ΤΟΥ STORY
| 1995 |
TOY STORY 2
TOY STORY 3
8
9 | TOY STORY 4
|
| 10 | SOUL
|
year duration | gross
|
----+
| 11 | Surf's Up
| 12 | Trolls
| 13 | Trolls World Tour
| 14 | Zootopia
| 1999 |
| 2010 |
| 2019 |
| 2020 |
| 2007 |
| 2016 |
| 2020 |
| 2016 |
97
91 |
102
108 |
91 |
81
92
103
100
100 |
85
92
90 |
108
| rating |
5.0 |
9.0 |
8.3
179.1 |
358.3
142.0 |
634.2 |
NULL |
373.6 |
497.3 |
1066.9 |
1073.4 |
NULL |
152.0 |
346.91
NULL |
1023.8 |
8.3
9.0 |
7.9
9.0 |
8.3
9.5 1
5.0 |
5.0 |
9.0 |
9.0 |
8.3 |

Transcribed Image Text:| id
+
| name
1 Columbia pictures.
2 | Dentsu
3 |
DreamWorks
4 | Paramount
5
Walt Disney Pictures
6 Warner Bros.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education