Given the two relations, R1 and R2 Relation R1: Name Empld DeptName Harry 3415 Finance Sally 2241 Sales George 3401 Finance Harriet 2202 Sales Jim 5678 Advertizing Relation R2 DeptName Manager Finance George Sales Harriet

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
Given the two relations, R1 and R2
Relation R1:
Name Empld DeptName
Harry 3415 Finance
Sally 2241 Sales
George 3401 Finance
Harriet 2202 Sales
Pim
5678 Advertizing
Relation R2
DeptName Manager
Finance
George
Sales
Harriet
Production Charles
How many rows will be in the table of R1 LEFT OUTER JOIN R2?
3
O 2
4
Transcribed Image Text:Given the two relations, R1 and R2 Relation R1: Name Empld DeptName Harry 3415 Finance Sally 2241 Sales George 3401 Finance Harriet 2202 Sales Pim 5678 Advertizing Relation R2 DeptName Manager Finance George Sales Harriet Production Charles How many rows will be in the table of R1 LEFT OUTER JOIN R2? 3 O 2 4
The instructor relation
ID
Name Dept_name Salary
10101 Hayley Comp.Sci. 65000
12121 Jackson Finance
90000
15151 Nathan Music
87000
22222 April Biology
73000
34345 Crick Comp.Sci. 100000
The course relation
Course_id Title
Dept_name Credits
CS-101 Robotics
Comp.Sci. 5
BIO-244 Genetics
Biology
4
PHY-333 Physical Principles
Physics
3
MUS-562 Music Video Production Music
2
FIN-101 Investment Banking
Finance
3
Suppose the Authority want to include a new instructor for the title Neuroscience what command should be inserted ?
O Insert into course values(12111.Emma,NeuroScience, 200000);
O Insert into instructor values(12111,Emma,NeuroScience, 200000);
Insert into course values(12111,Introduction, NeuroScience, 2):
Insert into instructor values(12111,Emma, Biology,200000);
Transcribed Image Text:The instructor relation ID Name Dept_name Salary 10101 Hayley Comp.Sci. 65000 12121 Jackson Finance 90000 15151 Nathan Music 87000 22222 April Biology 73000 34345 Crick Comp.Sci. 100000 The course relation Course_id Title Dept_name Credits CS-101 Robotics Comp.Sci. 5 BIO-244 Genetics Biology 4 PHY-333 Physical Principles Physics 3 MUS-562 Music Video Production Music 2 FIN-101 Investment Banking Finance 3 Suppose the Authority want to include a new instructor for the title Neuroscience what command should be inserted ? O Insert into course values(12111.Emma,NeuroScience, 200000); O Insert into instructor values(12111,Emma,NeuroScience, 200000); Insert into course values(12111,Introduction, NeuroScience, 2): Insert into instructor values(12111,Emma, Biology,200000);
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Fundamentals of Datawarehouse
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
  • SEE MORE 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