Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

***MySQL*** I have a database (imdb) that contains 3 tables: movies, actors, cast. here's a sample of these tables: movies: actors: cast: 1. Which movies

***MySQL***

I have a database (imdb) that contains 3 tables: movies, actors, cast.

here's a sample of these tables:

movies:

image text in transcribed

actors:

image text in transcribed

cast:

image text in transcribed

1. Which movies had the highest salary average? The column salary is within the cast table.

2. Show the highest salary for each gender.

please note that I'm not allowed to create views.

thank you!!!!!

\begin{tabular}{l|l|l|} \hline [ [ id & full_name & gender \\ \hline 933 & Lewis Abernathy & M \\ \hline 2547 & Andrew Adamson & M \\ \hline 2700 & William Addy & M \\ \hline 2898 & Seth Adkins & M \\ 2925 & Charles Adler & M \\ \hline 3226 & Casey Affleck & M \\ \hline 4306 & Shigekazu Aida & M \\ \hline 4856 & Julliet Akinyi & M \\ \hline 6005 & Henri Alciatore & M \\ \hline 6990 & Dean Alexandrou & M \\ \hline \end{tabular}

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

Step: 3

blur-text-image

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

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2015 Porto Portugal September 7 11 2015 Proceedings Part 3 Lnai 9286

Authors: Albert Bifet ,Michael May ,Bianca Zadrozny ,Ricard Gavalda ,Dino Pedreschi ,Francesco Bonchi ,Jaime Cardoso ,Myra Spiliopoulou

1st Edition

3319234609, 978-3319234601

More Books

Students also viewed these Databases questions

Question

5. Prepare for the role of interviewee

Answered: 1 week ago

Question

6. Secure job interviews and manage them with confidence

Answered: 1 week ago