Studentr (sid: integer, sname : String, major:smng Takes (sidistring, Cid: Sting, grade :Stnng) Courses (cid:shring, HtHC: Sting) * keyr underlined * a) Wite the fullawing queny in relational algubra. Find the names of the students who are enrolled in. CSC4147 are the values of the attnhute tit|e in the coulses relation. . csC41 but not in . where Cse41' ) and sC419 ) Write query in relutional alyebra : Find the names. of the students who are envolled in buth 'CsC4' and 'CSC414'3 uhere CSC411' and CSC 414 are the values of the attihute hne in the Courses rlation..
Studentr (sid: integer, sname : String, major:smng Takes (sidistring, Cid: Sting, grade :Stnng) Courses (cid:shring, HtHC: Sting) * keyr underlined * a) Wite the fullawing queny in relational algubra. Find the names of the students who are enrolled in. CSC4147 are the values of the attnhute tit|e in the coulses relation. . csC41 but not in . where Cse41' ) and sC419 ) Write query in relutional alyebra : Find the names. of the students who are envolled in buth 'CsC4' and 'CSC414'3 uhere CSC411' and CSC 414 are the values of the attihute hne in the Courses rlation..
Database Systems: Design, Implementation, & Management
12th Edition
ISBN:9781305627482
Author:Carlos Coronel, Steven Morris
Publisher:Carlos Coronel, Steven Morris
Chapter8: Advanced Sql
Section: Chapter Questions
Problem 3P
Related questions
Question
The relational schema is given at top of page. Keys are underlined in schema. Please show how to write a and b
![Studentr (sid: inteyer, mame : String> major: Smng
Takes (cidisting, Cid: Sting, grade : mng)
Courses (cidistring, HtHe: Shing)
*keyr underlined *
a) Wite the fullaning query in rclational
algubra.
Find the names of the students who
ace enrolled in csC41 but not in
CSC414
are the values of the attrbute tit|e
in the courses relation.
where Cse4i' and'Ĉ sC419)
G.
Wite query in relutional alyebra :
Find the names of the stucdents who are
envolled in both 'CsC4' and 'CSC414, uhere
CSC411 and CSC 414 are the valles
of the attialte hne inthe Courses rdation.
TÜL](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fb190a7ee-7d92-4983-ac25-81cba57d2288%2F080d2ea8-bfe2-437a-a487-096fc30eeb80%2F69vnz4o_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Studentr (sid: inteyer, mame : String> major: Smng
Takes (cidisting, Cid: Sting, grade : mng)
Courses (cidistring, HtHe: Shing)
*keyr underlined *
a) Wite the fullaning query in rclational
algubra.
Find the names of the students who
ace enrolled in csC41 but not in
CSC414
are the values of the attrbute tit|e
in the courses relation.
where Cse4i' and'Ĉ sC419)
G.
Wite query in relutional alyebra :
Find the names of the stucdents who are
envolled in both 'CsC4' and 'CSC414, uhere
CSC411 and CSC 414 are the valles
of the attialte hne inthe Courses rdation.
TÜL
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781305627482/9781305627482_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781285196145/9781285196145_smallCoverImage.gif)
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
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781305627482/9781305627482_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781285196145/9781285196145_smallCoverImage.gif)
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
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
![A Guide to SQL](https://www.bartleby.com/isbn_cover_images/9781111527273/9781111527273_smallCoverImage.gif)
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr