Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

hi there, please please answer both parts for thumbs up :)) Consider the database consisting of the following tables: Student(student id, student_name, street, city) Enrolls(student

hi there, please please answer both parts for thumbs up :)) image text in transcribed
Consider the database consisting of the following tables: Student(student id, student_name, street, city) Enrolls(student id, course id, marks) Courses(course id, course_name, credit_points) Tutors(course id, tutor id) Assuming that tutors are also students, write down the SQL expressions for the following queries: a) Find the name of the students who live in the same city as any of their respective tutors. b) Find the names of all the students who have achieved the highest average marks

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database And Expert Systems Applications 15th International Conference Dexa 2004 Zaragoza Spain August 30 September 3 2004 Proceedings Lncs 3180

Authors: Fernando Galindo ,Makoto Takizawa ,Roland Traunmuller

2004th Edition

3540229361, 978-3540229360

More Books

Students also viewed these Databases questions