Create sql function that returns the dvd id


Problem

Create SQL Function that returns the DVD ID of the next in stock DVD in the customer's movie list (rental queue).

a) The function should take as an IN parameter the member ID and should return the DVD ID as the function value.

b) The function should return the first DVD ID in the member's movie queue that is in stock. If the queue list is empty or none of the DVDs are in stock, then the function should return NULL.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create sql function that returns the dvd id
Reference No:- TGS03312613

Expected delivery within 24 Hours