Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 3- Views 1. Write a SQL statement to find the 'Comedy' films with the longest running time. Your query should output the names and

image text in transcribedimage text in transcribed

Task 3- Views 1. Write a SQL statement to find the 'Comedy' films with the longest running time. Your query should output the names and lengths of the films. 2. Write a SQL statement to create a (virtual) view that contains all the actors that have acted in the films that you obtained in Task 3.1. The view should include the columns actor id, first name and last name. Note: Actors may act in multiple films, but should only appear once in the view 3. Write a SQL statement to create a (virtual) view called V COMEDY ACTORS 2008 that lists the ids, first names and last names of any

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

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions

Question

Evaluate the integral by interpreting it in terms of areas.

Answered: 1 week ago