Answered step by step
Verified Expert Solution
Question
1 Approved Answer
GGive answer of c part from 1 to 5 which is in the second picture. The tables were created in the part a and b
GGive answer of c part from to which is in the second picture. The tables were created in the part a and b in the above image. No need to answer these. Just answer part c Activity : SQL Queries Case Study: Video Rental VR is an emerging venture specializing in video rentals. They are seeking to establish a database to manage video information, customer records, rental transaction details, and rental fee calculations. VR has reached out to you to design a comprehensive database that encompasses the following tables:ITDA Database Fundamentals c Write the SQL queries for the tables created in Part a and Part b i Create a query to display all videos with a cost falling between and ii Formulate a query to reveal the information of customers whose last names start with Ro iii. Develop a query to list customer IDs, first names, last names, states, and the total number of videos borrowed by each customer. iv Construct a query to showcase each customer's first name, last name, the rented video's name, and the due date. v Draft a query to generate a view named "BorrowDetails" based on the previous question's query and additionally display the count of videos each customer possesses from this newly created view. Activity : Database Administration Examine the database established during Activity and deliberate on the various forms of Jo times M Inbox TateSp Whats SI ITDA Create Post a ITDA Exami x x CATKir x x x x File C:UsersNikhilDownloadsITDAAssignmentpdf M Gmail Maps ITDAAssignment pdf
Table Charge ChargeCode Description RentFee LateFee
Standard
New
Discount
Type here to search
Table Charge Table VideoCopy VideoCopyNum VideoCopyArrivalDate SSNV
Charge ChargeCode PK Description, RentFee, DailyLateFee a Write SQL queries for table creation based on the provided information. Select suitable data types for each attribute and identify appropriate primary and foreign keys as needed. b Formulate an Insert query to input the provided sample data into the tables established in Part a The sample data is available in the following tables.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started