Overview
Throughout this course, you will be creating a simple database for tracking information about volunteers working and raising money for a community organization. This assessment requires that you create the initial table, called PERSON, to hold basic information about volunteers. You will be redefining the design and building the database in the other assessments.
Instructions
Your assessment will be scored on the following criteria. Use the Weekly Solutions Submission Template to submit your assessment.
1. Use the mysqldump.exe command line tool to backup the data in your volunteer database.
To access the mysqldump.exe tool, start the MySQL command line tool.
Use the quit command to exit to the system command prompt.
Run mysqldump.exe and direct the output of the backup to an appropriately named file.
Create a new database and restore the database from the backup to the new database. Submit a screenshot to document the restoration of the data to a new database.
2. Write SQL CREATE TABLE statements and run them to create three new tables (ADDRESS, PHONE, AND EMAIL) to split out the contact information for your volunteers that is currently contained in the PERSON table.
Each table should have a unique primary key and foreign key constraint reference to the PERSON table.
Save your SQL statements to a text file using the MySQL tee command and document the process with screenshots.
3. After creating the new tables (in Step 2), write and run SQL to insert the relevant data for the volunteers in the new tables.
Save your SQL statements to a text file using the MySQL tee command and document the process with screenshots.
4. Modify the PERSON table using the ALTER TABLE statement to remove the columns for the data moved to the new tables.
Save your SQL statements to a text file using the MySQL tee command and document the process with screenshots.
Continuation from the previous assignment. Please use MariaDB 10.5 (x64)