What will be the result of the following queries: a) select S.stName, R.crsId, R.grade from student S, registration R where S.stId = R.stdId and R.grade=’A’ b) select stId, stCity, crsId from student S right outer join registration R on S.stdId = R.stID; c) select stId, stCity, crsId from student S left outer join Registration C on S.stdId = R.stID;

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter11: Group Functions
Section: Chapter Questions
Problem 5MC
icon
Related questions
icon
Concept explainers
Question
100%
What will be the result of the following queries: a) select S.stName, R.crsId, R.grade from student S, registration R where S.stId = R.stdId and R.grade=’A’ b) select stId, stCity, crsId from student S right outer join registration R on S.stdId = R.stID; c) select stId, stCity, crsId from student S left outer join Registration C on S.stdId = R.stID;
QUESTION 18
Give the following tables:
STUDENT
REGISTRATION
stld
stName
stCity
stld
crsld
crsSection grade
2021001 Ahmed
Ibr
2020003
1101
10
B
2019001 Ali
Nizwa
2019001
1104
20
A
2021002 Salem
2020003 Mohamed Suhar
Muscat
2021002
2106
10
What will be the result of the following queries:
a)
select S stName, R.crsld, R.grade
from student S, registration R
where S.stld = R.stdld and R.grade%3D'A
b)
select stld, stCity, crsld
from student S right outer join registration R
Click Save and Submit to save and submit. Click Save All Answers to save all answers.
Transcribed Image Text:QUESTION 18 Give the following tables: STUDENT REGISTRATION stld stName stCity stld crsld crsSection grade 2021001 Ahmed Ibr 2020003 1101 10 B 2019001 Ali Nizwa 2019001 1104 20 A 2021002 Salem 2020003 Mohamed Suhar Muscat 2021002 2106 10 What will be the result of the following queries: a) select S stName, R.crsld, R.grade from student S, registration R where S.stld = R.stdld and R.grade%3D'A b) select stld, stCity, crsld from student S right outer join registration R Click Save and Submit to save and submit. Click Save All Answers to save all answers.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Query Syntax
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
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:
9781305627482
Author:
Carlos Coronel, Steven Morris
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
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L