NOTE: Please see the attached file and you have to complete all 5 tasks that are described in the file !!!
An objective if this task is to use a backup file and recovery feature of a database system to find historical information from a sample database. On 31 May 2015 a database administrator created a backup of a relational table DRIVER and saved a backup in a file old_driver.bak. Then to make your task easier, a database administrator updated the file such that it can be restored into a relational table OLD_DRIVER.
Implement a script file [login to view URL] that performs the following actions.
(1) Create a relational table OLD_DRIVER that has the same columns as a relational table DRIVER. Enforce appropriate consistency constraints for a relational table OLD_DRIVER.
(2) Use a backup file [login to view URL] to load the old pre 31 May 2015 contents of a relational table DRIVER into a relational table OLD_DRIVER.
(3) Use SELECT statements to list the employee numbers and driving license numbers of drivers and who left the transportation company after 31 May 2015.
(4) Use SELECT statements to list the employee numbers, driving license numbers, first name and last name of drivers and joined the transportation company after 31 May 2015.
Before processing of a script file [login to view URL] it is strongly recommended to connect to MySQL either through command line interface mysql or graphical user interface MySQL Workbench and process a script file [login to view URL] and immediately after that the scripts [login to view URL] and [login to view URL] to refresh a sample database.
When ready connect as csit115 user, process a script file [login to view URL], and save a report from processing in a file solution3.rpt.
To create a report from processing of a file [login to view URL] open a Terminal window and start the command line interface mysql in the following way:
mysql -u csit115 -p -v -c
Next, process SQL script [login to view URL] and save a report in a file solution3.rpt. Note, that when started with the options -v and -c the command line interface includes both listing of SQL statements processed, and the comments included in the original version of a file solution3.sql.
A file [login to view URL] with a report from processing of SQL script solution3.sql. The report must be created with the command line interface mysql, the report MUST NOT include any errors, and the report must list all SQL statements processed and all comments included in the original (downloaded) version of solution3.sql. Marks will be deducted for the missing comments. Submission of a file with a different name and/or different extension and/or different type scores no marks.
3 freelancer chào giá trung bình$317 cho công việc này
Hi Dear I'm a Security and Database Expert I read your details and attached files and ready to start Let's Discuss - Ready TO START NOW! Regards Hamid