QuestionsFor the following request, print out respectively the screenshots to show test data (the table data that you create to test each query), the query results, and pack them into the file Assignment4_AccountName.zip along with your answers, then handle to the evaluator via email (XYZ@fsoft.com.vn)1. Update the database schema above to reflect the business logics, design2. Write :a) Create the tables (with the most appropriate field/column constraints & types) and add at least 3 records into each created table.b) Write a stored procedure (without parameter) to remove the projects that were completed at least three months ago. Print out the number of records which are removed from each related table during the removals.c) Write a stored procedure (with parameter) to print out the modules that a specific employee has been working on.d) Write a user function (with parameter) that return the Works information that a specific employee has been involving though those were not assigned to him/her.e) Write the trigger(s) to prevent the case that the end user to input invalid Projects and Project Modules information (Project_Modules.ProjectModulesDate < Projects.ProjectStartDate, Project_Modules.ProjectModulesCompletedOn > Projects.ProjectCompletedOn)Barem: Q1-25%, Q2-15% mỗi sub question
đang được dịch, vui lòng đợi..
