Академический Документы
Профессиональный Документы
Культура Документы
d) Create the tables as identified from the ERD and insert dummy data into it (at least 10
records in each table).
e) Execute the following SQL queries on the database created above in SQLite:
4. Display all the customers whose names have ‘o’ as the second character.
7. Display the list of customers who have rented more than 4 videos.
8. Display details of all videos and the customers to whom they have been rented.
9. Display details of all customers registered with branches in Delhi.
10. Display details of all staff members whose salary is greater than the salary of the manager.
11. Display details of all videos including those that have been rented and for the rented videos
display the details of customers.
12. Display details of Branch managed by Manager “Prateek Kuhad”.
16. Display the minimum and maximum salary paid branch wise.
17. Display the details of videos which have been rented and those that have not been rented
through an additional field rental status.
18. Display the total earning of the company from video renting.
19. Display the most liked video.