Create these two tables exactly as in the 1. figure above using SQL Developer or SQL Command Line 2. Provide Screenshots for the results obtained: 2.1 SELECT b.*, p.* FROM Branch1 b, PropertyForRent1 p WHERE b.bCity = p.pCity; 2.2 SELECT b.*, p.* FROM Branch1 b LEFT JOIN Implement the following Queries and PropertyForRent1 p ON b.bCity = p.pCity; 2.3 SELECT b.*, p.* FROM Branch1 b RIGHT JOIN PropertyForRent1 p ON b.bCity = p.pCity; 2.4 SELECT b.*, p.* FROM Branch1 b FULL JOIN PropertyForRent1 p ON b.bCity = p.pCity;

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter12: Subqueries And Merge Statements
Section: Chapter Questions
Problem 19MC
icon
Related questions
Question
Consider the following tables:
Branch1
PropertyForRent1
branchNo
bCity
propertyNo
pCity
ВООЗ
Glasgow
PA14
Aberdeen
B004
Bristol
PL94
London
B002
London
PG4
Glasgow
1.
Create these two tables exactly as in the
figure above using SQL Developer or SQL
Command Line
2.
Provide Screenshots for the results obtained:
2.1
SELECT b.*, p.*
FROM Branch1 b, PropertyForRent1 p
WHERE b.bCity = p.pCity;
2.2
SELECT b.*, p.*
FROM Branch1 b LEFT JOIN
Implement the following Queries and
%3D
PropertyForRent1 p ON b.bCity =
p.pCity;
2.3
SELECT b.*, p.*
FROM Branch1 b RIGHT JOIN
PropertyForRent1 p ON b.bCity =
%3D
p.pCity;
2.4
SELECT b.*,
FROM Branch1 b FULL JOIN
р.*
PropertyForRent1 p ON b.bCity =
%3D
p.pCity;
Transcribed Image Text:Consider the following tables: Branch1 PropertyForRent1 branchNo bCity propertyNo pCity ВООЗ Glasgow PA14 Aberdeen B004 Bristol PL94 London B002 London PG4 Glasgow 1. Create these two tables exactly as in the figure above using SQL Developer or SQL Command Line 2. Provide Screenshots for the results obtained: 2.1 SELECT b.*, p.* FROM Branch1 b, PropertyForRent1 p WHERE b.bCity = p.pCity; 2.2 SELECT b.*, p.* FROM Branch1 b LEFT JOIN Implement the following Queries and %3D PropertyForRent1 p ON b.bCity = p.pCity; 2.3 SELECT b.*, p.* FROM Branch1 b RIGHT JOIN PropertyForRent1 p ON b.bCity = %3D p.pCity; 2.4 SELECT b.*, FROM Branch1 b FULL JOIN р.* PropertyForRent1 p ON b.bCity = %3D p.pCity;
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Single Table
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
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning