4:04 l LTE 4:04 LTE DB Quiz No.5 (12:30@OUJI aelga) DB Quiz No.5 (12:30@ULJI alg) CREATE TABLE Institution (name VARCHAR(50), country VARCHAR(50).year INT, CREATE TABLE HighDegree (professoriD INT REFERENCES Professor(ID).projectiD INT REFERENCES Project(ID),schoolName VARCHAR(50).institutionName VARCHAR(50).FOREIGN KEY O Number PRIMARY KEY (name, country): O Name and Num WA The following is an instance of the relation: CREATE TABLE Author (researcherID INT REFERENCES Researcher(ID).paperID INT REFERENCES Paper(ID).PRIMARY KEY (researcheriD, paperiD); O Name (schoolName,institutionName) REFERENCES School(name.insitutionName), PRIMARY KEY (professorID, studentID, schoolName, institutionName): Based on the above, indicate for each of the following sets of attributes whether it is a key for Articles Table? CREATE TABLE Partof (professorID INT REFERENCES Professor(ID), studentID INT REFERENCES Researcher(ID),PRIMARY KEY (professorID, projectiD)): Indicate which one of the following Table HighDegree has: * expressions is NOT valid SQL statement? Toraal n tatpage C eing 2004 The relationship between Deterniasetse setoare BLeinari a le e ae a 2e0s L 13 Pe P renirad a e Bi Table Institution and Table Author is O 4 PRIMARY KEYS 200 4200 Ketare 221 2000 JAO 2 12 at Qidel aid on O 2 FOREIGN KEYS O SELECT SUM(") FROM Articles, O startpage journal,issue O m:1 2 FOREIGN KEYS and 4 PRIMARY SELECT FROM Articles WHERE KEYS O title endpage-startpage>10; O 1:1 2 FOREIGN KEYS and 2 PRIMARY KEYS O SELECT AVG(year) FROM Articles WHERE title LIKE 'C%"; title. year O 1:m O ID, TR-ID O m:n SELECT COUNT(") FROM Articles GROUP BY year; O ID,title, TR-ID WA ID Each person has an ID number, and the ID number is unique to one person.
4:04 l LTE 4:04 LTE DB Quiz No.5 (12:30@OUJI aelga) DB Quiz No.5 (12:30@ULJI alg) CREATE TABLE Institution (name VARCHAR(50), country VARCHAR(50).year INT, CREATE TABLE HighDegree (professoriD INT REFERENCES Professor(ID).projectiD INT REFERENCES Project(ID),schoolName VARCHAR(50).institutionName VARCHAR(50).FOREIGN KEY O Number PRIMARY KEY (name, country): O Name and Num WA The following is an instance of the relation: CREATE TABLE Author (researcherID INT REFERENCES Researcher(ID).paperID INT REFERENCES Paper(ID).PRIMARY KEY (researcheriD, paperiD); O Name (schoolName,institutionName) REFERENCES School(name.insitutionName), PRIMARY KEY (professorID, studentID, schoolName, institutionName): Based on the above, indicate for each of the following sets of attributes whether it is a key for Articles Table? CREATE TABLE Partof (professorID INT REFERENCES Professor(ID), studentID INT REFERENCES Researcher(ID),PRIMARY KEY (professorID, projectiD)): Indicate which one of the following Table HighDegree has: * expressions is NOT valid SQL statement? Toraal n tatpage C eing 2004 The relationship between Deterniasetse setoare BLeinari a le e ae a 2e0s L 13 Pe P renirad a e Bi Table Institution and Table Author is O 4 PRIMARY KEYS 200 4200 Ketare 221 2000 JAO 2 12 at Qidel aid on O 2 FOREIGN KEYS O SELECT SUM(") FROM Articles, O startpage journal,issue O m:1 2 FOREIGN KEYS and 4 PRIMARY SELECT FROM Articles WHERE KEYS O title endpage-startpage>10; O 1:1 2 FOREIGN KEYS and 2 PRIMARY KEYS O SELECT AVG(year) FROM Articles WHERE title LIKE 'C%"; title. year O 1:m O ID, TR-ID O m:n SELECT COUNT(") FROM Articles GROUP BY year; O ID,title, TR-ID WA ID Each person has an ID number, and the ID number is unique to one person.
Chapter3: Data Representation
Section: Chapter Questions
Problem 3RP
Related questions
Question
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
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage