Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Given the following 3NF relational schema regarding art exhibitions LOCATION (ICode, IName, lAddress) ARTIST(alD, aName, aCountry) EXHIBITION (eCode, eName) EXHIBITIONLOCDATE (eCode, ICode, eStartDate, eEndDate)
Given the following 3NF relational schema regarding art exhibitions LOCATION (ICode, IName, lAddress) ARTIST(alD, aName, aCountry) EXHIBITION (eCode, eName) EXHIBITIONLOCDATE (eCode, ICode, eStartDate, eEndDate) ARTOBJECT (aolD, aoName, aoType, alD) ARTEXHIBITED (eCode, ICode, gold, boothNo) [Note Underlined attributes are primary/composite keys of the relations & talicized attributes are foreign keys 2.1 location, a artist, e-exhibition, ao artObject] 1) CREATE TABLE: (NOTE: Keep copy of code in notepad as well for c&p later on) LOCATION ARTIST EXHIBITION EXHIBITIONLOCATE ARTOBJECT ARTEXHIBITED 2) DROPTABLE: . LOCATION . ARTIST EXHIBITION EXHIBITIONLOCIATE ARTOBJECT ARTEXHIBITED 3) ALTER ANY TABLE ADD MODIFY DROP 4) ADD PRIMARY KEY CONSTRAINT . LOCATION . ARTIST EXHIBITIONLOCIATE EXHIBITION ARTOBJECT ARTEXHIBITED 5) ADD FOREIGN KEY CONSTRAINT (where applicable):
Step by Step Solution
★★★★★
3.37 Rating (163 Votes )
There are 3 Steps involved in it
Step: 1
SQL statements for creating tables dropping tables altering tables adding primar...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started