Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Can you please help with the following database question Q.2 Consider the following relational schema corresponding to a movie database. Artist(aid, name) Movie(mid, title, director)
Can you please help with the following database question
Q.2 Consider the following relational schema corresponding to a movie database. Artist(aid, name) Movie(mid, title, director) Role(aid, character name, mid) a) Write an SQL statement which would return the number of artists who have performed in 3 or more movies directed by the director "John Smith" b) Write an SQL statement which would return the distinct names of all artists who have acted in some movie directed by "John Smith" but have never performed in any movie directed by directed "Bob GreenStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started