Books (BookID, Title, Author, Genre, Price, StockQuantity).
CREATE PROCEDURE statement named sp_GetClearanceBooks that returns all columns for books where the Price is less than $10.00.EXEC command to run your new procedure.sp_GetBooksByGenre that accepts one input parameter: @SearchGenre VARCHAR(50).SELECT statement that filters the Books table where the Genre matches the @SearchGenre parameter.sp_UpdateBookStock that accepts two parameters: @TargetBookID INT and @NewQuantity INT.UPDATE statement that changes the StockQuantity to the @NewQuantity, WHERE the BookID matches the @TargetBookID.sp_GetClearanceBooks procedure from Task 1 should only show books that actually have stock. Write an ALTER PROCEDURE statement to update the query logic so it checks for Price < 10 AND StockQuantity > 0.