_:n030f52dc620c48d19f5e81c803a369a8xb3
<http://schema.org/description>
"DeVry MIS 582 iLab 3 Database Construction Using MySQL\r\niLAB OVERVIEW\r\nScenario/Summary\r\nIn this assignment, you will learn to create a database schema from a given ERD. To complete this assignment, you will need to be able to run a script in MySQL.\r\nPlease ensure that you can connect to MySQL on the Omnymbus edupe web server.\r\nContact your instructor for assistance for any issues that you are having with the MySQL/edupe environment.\r\nDeliverables\r\nSQL script file named LastName_Wk5.sql. That is a text document with the .sql extension. It is a script of SQL commands that executes in an MYSQL environment.\r\nA text document named LastName_Wk5_Output.txt which is a copy of the results obtained when the SQL command script it runs. The Instructor must be able to run our script and obtain identical results.\r\nWhen you are done submit them to Week 5: iLab Dropbox. Files that have been opened or processed by any software other than Notepad are not acceptable. Zipped files are not acceptable and may be returned ungraded.\r\n\r\n\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tPlay Video\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\tName: Jennifer LucasStatus: Online ⬤Classes Taken: 3878Ratings: ⭐⭐⭐⭐⭐\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\tHire Me\n\t\t\n\t\t\t\t\t\n\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\tSTATUS\t\t\n\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\r\n\r\n&nbsp;\r\nRequired Software\r\nMySQL in the edupe environment. SQLZOO may be used to test the scripts.\r\nAccess the software at https://devry.edupe.net:8300.\r\nSteps 1–8 iLAB STEPS\r\nSTEP 1: Entity Relationship Diagram Analysis\r\n\r\nReview the ERD below to understand the entities, attributes, primary keys, and relationships that you will create in your MySQL database.\r\n\r\nSTEP 1: Create a New Database\r\n\r\nCreate a new database following the naming conventions we are using for our databases, as specified in the tutorial file Creating a Database within MySQL.pdf listed in the doc-sharing folder titled “Omnymbus Tutorial Files” in Doc-Sharing. All of our work in this iLab will be done under this database.\r\n\r\nSTEP 2: Create SQL File\r\n\r\n \tTo reference, learn and apply MySQL’s own dialect of the SQL language to this iLab, browse through the file M10C_KROE8352_13_SE_WC10C.pdf in the Doc Sharing folder titled My SQL Documents.\r\n \tCreate a script file named LastName_Wk5.sql containing SQL statements created in Steps 3–7 below.\r\nBut first, include the following commands at the top of your script:\r\n\r\n\r\n \tSET FOREIGN_KEY_CHECKS=0;\r\n \tDROP TABLE IF EXISTS STUDENT;\r\n \tDROP TABLE IF EXISTS CAMPUS;\r\n \tDROP TABLE IF EXISTS ROOM;\r\n \tDROP TABLE IF EXISTS COURSE;\r\n \tDROP TABLE IF EXISTS INSTRUCTOR;\r\n \tDROP TABLE IF EXISTS APPROVED_INSTRUCTOR;\r\n \tDROP TABLE IF EXISTS CLASS;\r\n \tDROP TABLE IF EXISTS STUDENT_GRADE;\r\n \tSET FOREIGN_KEY_CHECKS=1;\r\n\r\nSTEP 3: Add Tables, Set Primary Keys, and Foreign Keys\r\n\r\nAdd tables to the MySQL database.\r\n\r\n \tAdd a table for each entity listed in the provided ERD diagram.\r\n \tAdd a column for each attribute listed in the provided ERD diagram.\r\n \tSelect the primary key for each table as indicated in the provided ERD diagram.\r\n \tIdentify the foreign key relationships between tables as indicated in the provided ERD diagram.\r\n \tEnable referential integrity on the relationship.\r\n \tEnable cascade updates on the relationship.\r\n\r\nSTEP 4: Set Data Types for Table Fields\r\nFor every column in every table, update the data type as needed to enforce the domain constraints of the data.\r\n\r\n \tDates should have a date data type.\r\n \tSurrogate keys should be auto-numbered.\r\n \tNumeric data should have a numeric data type.\r\n \tCharacter data should have a character data type.\r\n\r\n\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\t\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r\nSet the following column constraints in your database.\r\n\r\n \tStudent first and last name cannot be a null value.\r\n \tCourse credit hours must be between one and four.\r\n \tThe course name must be unique and cannot be a null value.\r\n \tThe instructor's first and last name cannot be a null value.\r\n \tThe grade must be one of these values: A, B, C, D, F, I, W, or E. W signifies withdrawn and E signifies enrolled.\r\n\r\nSTEP 6: Add Data to Tables\r\n\r\nWrite INSERT statements to add at least 2–3 rows of data to each table in your database. Use any values that you like for each of the columns. Remember that you must add data to parent tables before adding data to child tables, because referential integrity is enabled.\r\nHINT – Do not spend any lengthy amount of time on the INSERTs. This data has no use other than making sure the CREATE ran correctly.\r\n\r\nSTEP 7: Run the Script\r\n\r\n \tInclude a COMMIT command at the end of the script.\r\n \tInclude SHOW TABLES command at the end of the script, to show all tables created.\r\n \tInclude SELECT statements for each table at the end of the script, to show data inserted.\r\n \tGive your script a run, by uploading into Omnymbus and executing it just like you did in iLab1.\r\n \tPaste a copy of the output in a Notepad document named LastName_Lab3_Output.TXT\r\n\r\nStep 8: Save and Upload to Dropbox\r\n\r\nWhen you are done, submit the following files to the Week 5: iLab Dropbox:\r\n\r\n \tLastName_Wk5.sql A text file you created with Notepad\r\nLastName_Wk5_Output.txt A text file created by copy and paste from edupe."
<https://homeworkprovider.com/devry-mis-582-ilab-3-database-construction-using-mysql/>