Check your understanding Do these joins by hand, without a computer. Join a row of Table 1 with a row of Table 2 if the first letters are the same. Show all the rows of both tables, even if they do not have a matching row in the other table. Create the result table and state if this is a one-to-one relationship in the mathematical sense or in the database design sense.

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
icon
Related questions
Question
100%

For SQL code. This section is about joining two tables with an inner join. How would this/these tables turn out given the Check Your Understanding instructions. 

13-3 A one-to-one relationship
This section shows a model case of combining two tables with an inner join. This shows the
technique that is always used, but avoids the complexities, which we discuss later. For now,
just focus on this simple example.
Rows from one table are matched with rows from the other table. There are no hidden links
between the two tables. The data in the tables determine how to combine the rows. One
column is chosen from each table. When these columns have the same value, the rows are
combined.
Transcribed Image Text:13-3 A one-to-one relationship This section shows a model case of combining two tables with an inner join. This shows the technique that is always used, but avoids the complexities, which we discuss later. For now, just focus on this simple example. Rows from one table are matched with rows from the other table. There are no hidden links between the two tables. The data in the tables determine how to combine the rows. One column is chosen from each table. When these columns have the same value, the rows are combined.
Check your
understanding
Do these joins by hand, without a computer. Join a row of Table 1 with a row of Table 2 if
the first letters are the same. Show all the rows of both tables, even if they do not have a
matching row in the other table. Create the result table and state if this is a one-to-one
relationship in the mathematical sense or in the database design sense.
1.
2.
Table 1
Active
Busy
Crafty
Determined
Eccentric
Table 1
Active
Busy
Crafty
Determined
Eccentric
Table 2
Cat
Dog
Ape
Eel
Bird
Table 2
Cat
Dog
Ape
Fish
Bird
Rabbit
Transcribed Image Text:Check your understanding Do these joins by hand, without a computer. Join a row of Table 1 with a row of Table 2 if the first letters are the same. Show all the rows of both tables, even if they do not have a matching row in the other table. Create the result table and state if this is a one-to-one relationship in the mathematical sense or in the database design sense. 1. 2. Table 1 Active Busy Crafty Determined Eccentric Table 1 Active Busy Crafty Determined Eccentric Table 2 Cat Dog Ape Eel Bird Table 2 Cat Dog Ape Fish Bird Rabbit
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Arrays
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.
Similar questions
Recommended textbooks for you
Database System Concepts
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)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education