Question: 6) Write a SQL query to return the list of film titles that have never been rented BUT are inventory for at least one store

6) Write a SQL query to return the list of film titles that have never been rented BUT are inventory for at least one store 7) Write a SQL query to return the last names of all actors and customers, with the words "ACTOR" or "CUSTOMER" appearing next to their last name. Sort the combined output by last name. For example, output should look something like this: last_name ABNEY ADAM ADAMS AKROYD ALEXANDER ALLARD ALLEN ACTOR CUSTOMER CUSTOMER CUSTOMER ACTOR CUSTOMER CUSTOMER ACTOR 6) Write a SQL query to return the list of film titles that have never been rented BUT are inventory for at least one store 7) Write a SQL query to return the last names of all actors and customers, with the words "ACTOR" or "CUSTOMER" appearing next to their last name. Sort the combined output by last name. For example, output should look something like this: last_name ABNEY ADAM ADAMS AKROYD ALEXANDER ALLARD ALLEN ACTOR CUSTOMER CUSTOMER CUSTOMER ACTOR CUSTOMER CUSTOMER ACTOR
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
