Question: Database Creation Script: Create the MOVIE table act _ id act _ fname act _ lname act _ gender 1 James Stewart M 2 Deborah
Database Creation Script: Create the MOVIE table
actid actfname actlname actgender
James Stewart M
Deborah Kerr F
Peter Otoole M
Robert De Niro M
F Murray Abraham M
Harrison Ford M
Nicole Kidman F
Stephen Baldwin M
Jack Nicholson M
Mark Wahlberg M
Woody Allen M
Claire Danes F
Tim Robbins M
Kevin Spacey M
Kate Winslet F
Robin Willams M
Jon Voight M
Ewan McGregor M
Christian Bale M
Maggie Gyllenhaal F
Dev Patel M
Sigourney Weaver F
Kevin Spacey M
Denzel Washington M
Brad Pitt M
Edward Norton M
Julia Roberts F
Meryl Streep F
Liam Neason M
Ben Kingsley M
actid Movid Role
John Scottie Ferguson
Miss Giddens
TE Lawrence
Michael
Antonio Salieri
Rick Deckard
Alice Harford
McManus
JJ Gittes
Eddie Adams
Alvy Singer
San
Andy Dufresne
Lester Bumham
Rose Dewitt Bukater
Sean Maguire
Eddie Adams
Renton
Alfred Borden
Elizabeth Darko
Older Jamal
Ripley
Bobby Darin
Detective Keith Frazier
Alonzo Harris
Billy Beane
The Narrator
Lester Worm Murphy
Aaron Stampler
Erin Brockovich
Linda
Oskar Schindler
Mahatma Gandhi
movid movtitle movyear movtime movlang movdtrel movrelcountry
Vertigo English Aug UK
The Innocents English Feb SW
Lawrence of Arabia English Dec UK
Deer Hunter English Mar UK
Amadeus English Jan UK
Blade Runner English Sep UK
Eyes Wide Shut English Sep UK
The Usual Suspects English Aug UK
Chinatown English Aug UK
Boogie Nights English Feb UK
Annie Hall English Apr USA
Princess Mononoke Japanese Oct UK
The Shawshank Redemption English Feb UK
American Beauty English Sep USA
Titanic English Jan UK
Good Will Hunting English Jun UK
Deliverance English Oct UK
Trainspotting English Feb UK
The Prestige English Nov UK
Donnie Darko English Jan USA
Slumdog Millionaire English Nov USA
Aliens English Jul USA
Beyond the Sea English Dec USA
Avatar English Dec UK
Seven Samurai Japanese Apr JP
Spirited Away Japanese Sep UK
Back to the Future English Dec UK
Braveheart English Sep UK
Inside Man English Mar USA
Training Day English Sep USA
Moneyball English Sep USA
Fight Club English Sep USA
Rounders English Sep USA
Primal Fear English Apr USA
Erin Brockovich English Mar USA
The Deer Hunter English Feb USA
Schindler's List English Feb USA
Gandhi English Jun USA
Acts in is manytomany:
Since this relationship is manytomany, it must be implemented at the logical level using the bridge entity CASTING see BR # and BR # below
A row in the CASTING table represents an actor in a movie plus the role heshe played in that movie
BR #a: An ACTOR acts in zero or more many MOVIEs
BR #b: A MOVIE has zero or more many ACTORs
Is cast in is onetomany:
This relationship helps implement the manytomany relationship between ACTOR and MOVIE using CASTING as a bridge entity
BR #a: An ACTOR is cast in zero or more many CASTINGs
BR #b: A CASTING is tied to one and only one ACTOR
Contains is onetomany:
This relationship helps implement the manytomany relationship between ACTOR and MOVIE using CASTING as a bridge entity
BR #a: A MOVIE contains zero or more many CASTINGs
BR #b: A CASTING is tied to one and only one MOVIEConceptual Design
Logical Design
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
