Mohammad Ali Jinnah University: TERM Project Spring 2020
Mohammad Ali Jinnah University: TERM Project Spring 2020
Option 1 : Create any desktop/Web Application using any built in Database or you can create
your own database . Your application must perfrom ( Insert / Update / Delete / Search ) ( Max
2 students allowed ).
Option 2 : Solve the following Question Using Sakila Database.( Individual Submission )
(b) Create view name vw_store_sales that contain the total sales of each store its manager, city and
country name where the store are situated as shown below(2)
Question 3
Create an insert trigger on Customer table for column create_date which restrict the admin not to enter the
customer information if the entered is greater than today and generate an alert message “Future Date is
not allowed” (2)
Question 4
Write a script that contains a WHILE loop nested inside another WHILE loop. The counter for the outer
loop should count up from 1 to 100. The counter for the inner loop should count up from 1 to 5.(2)
Question 5
Create a stored procedure name sp_cust_info that takes a country’s name as the input parameter and
outputs the details of customers in it (customer_id, first_name, last_name).(2)