(Solved) : 1 Latest Scores Japanese Baseball League Table Schema Scores Team1 Team2 Scorel Score2 Dat Q36690533 . . .




1. The latest scores from the Japanese Baseball League are in the table with schema Scores(Team1, Team2, Scorel, Score2) The data in this table is as follows: Team2Scorel Score2 Dragons Tigers 3 Carp Bav Stars Giants Swallows 4 2 arines Hawks Ham Fighters Buffaloes ions Golden Eagles 8 What is the result of executing on this data the query: SELECT Scorel, Score2 FROM Scores Identify in the list below one of the rows in your answer. a) b) c) d) 12 8 2. Here is a table representing a relation named R: A B C 6 7 8 Identify: 1. The attributes of R. 2. The schema of R. 3. The tuples of R. 4. The components of the tuples for each attribute of R. Which of the following is NOT a true statement about relation R? a) 4 is the value of the B-component of one of the tuples of R b) R has four tuples. c) C is an attribute of R. d) (0,1,2) is a tuple of R. 3. The latest scores from the Japanese Baseball League are in the table with schema Scores(Team, Opponent, RunsFor, RunsAgainst) The data in this table is as follows Team Opponent RunsFor RunsAgainst ragons igers Carp Swallows 4 6 Bay Stars Giants arines awks Ham Fighters Buffaloes ons Golden Eagles 8 12 gers Swallows Carp Giants ragons Bay Stars 2 awks Buffaloes Golden Eagles Lions arines am Fighters 6 12 What is the result of executing on this data the query: SELECT DISTINCT Team, RunsFor FROM Scores In the list below are statements about certain numbers of runs and how many times they appear in the table that is printed as a result of this query. Identify the true statement. a) 12 appears twice. b) 6 appears four times c) 3 appears twice. O d) 3 appears four times 4. The latest scores from the Japanese Baseball League are in the table with schema Scores(Teaml, Team2, Scorel, Score2) The data in this table is as follows: Team2 Scorel Score2 Dragons Carp Bay Stars Giants Marines Ham Fighters Buffaloes Lions igers Swallows 4 Hawks Golden Eagles 8 12 What is the result of executing on this data the query: SELECT Scorel, Score2 FROM Scores Identify in the list below one of the rows in your answer. a) b) c) d) 5 6 4 12 Show transcribed image text
Expert Answer
Answer to 1 Latest Scores Japanese Baseball League Table Schema Scores Team1 Team2 Scorel Score2 Dat Q36690533 . . .
OR