Summary: SQL Queries Using MySQL DBMS. Reference the attached video (Course Project Ph1 VIDEO.mp4), for a full introduction and demonstration for the MySQL DBMS, and general background for your Course Project Ph1.
Deliverables:
SQL File as follows: YourLastName_Project_Ph1_Question Assignment.sql. File must contain SELECT statement and required clauses to address the required tasks note below (Question Assignment 1-10).
MS Word as follows: YourLastName_Project_Ph1_Output. This file contains the queries and outputs.
Zipped file, students are required to upload a ZIP file containing these two documents.
Required Software:
MySQL DBMS by Oracle. MySQL Community Server and MySQL Workbench.
Lab Steps:
Step 1: Download and install the MySQL DBMS System by Oracle. Follow the step-by-step instructions attached to install the MySQL DBMS in your computer. Also, reference the supplemental text: Available for Free download as part of our UC Library. MySQL Database Usage & Administration. (2010). By Vaswani, Vikram. McGraw Hill. ISBN: 978-0-07-160550-2. Link to UC Library: http://search.ebscohost.com/login.aspx?direct=true&AuthType=shib&db=nlebk&AN=291311&site=eds-live&ebv=EB&ppid=pp_ii
Follow the Step-by-Step instructions attached, to install MySQL in your computer attached as follows: “Instructions to Install MySQL.pdf”.
Step 2: Create a MySQL Database. Watch the attached video, Course Project Ph1 VIDEO.mp4, with instructions/demonstrations to create a database using MySQL. Also, reference the supplemental text: Available for Free download as part of our UC Library. MySQL Database Usage & Administration. (2010). By Vaswani, Vikram. McGraw Hill. ISBN: 978-0-07-160550-2. Link to UC Library: http://search.ebscohost.com/login.aspx? This textbook provides supplemental information to install MySQL and how to create a database. Download the file Project_ph1_ScriptMySQL. File attached.
Step 3: Run the Script File in MySQL.
Step 4: Create SQL SELECT Queries
Using the data provided for you in the Student table in the database, formulate a SQL script file named YourLastName_Project_Ph1_Question Assignment.sql. This file would contain queries to execute each of the tasks required below.
Be sure to read and reference the dialect presented by MySQL, as it is unique and special in our space of SQL programming. Be sure to read/reference the supplemental text: Available for Free download as part of our UC Library. MySQL Database Usage & Administration. (2010). By Vaswani, Vikram. McGraw Hill. ISBN: 978-0-07-160550-2.
Once you run each Question Assignment, save and past the output in a MS Word document. Name your file YourLastName_Project_Ph1_Output.
Question Assignment # 1 – Write a SQL statement to produce output as follows: Student’s First and Last Name. Question Assignment # 2 – Write a SQL statement to produce output as follows: the Major of the STUDENT with no duplications. Do not display student names. Question Assignment # 3 – Write a SQL statement to produce output as follows: First and Last Name of students who live in the Zip code 32828. Question Assignment # 4 – Write a SQL statement to produce output as follows: First and Last Name of students who live in the Zip code 97912 and have the major of CS. Question Assignment # 5 – Write a SQL statement to produce output as follows: First and Last Name of students who live in the Zip code 32826 or 33186. Do not use IN. Question Assignment # 6 – Write a SQL statement to produce output as follows: the First and Last Name of students who have the major of Business or Math. Use IN. Question Assignment # 7 – Write a SQL statement to produce output as follows: the First and Last Name of students who have the Class greater than 1 and less than 5. Use BETWEEN. Question Assignment # 8 – Write a SQL statement to produce output as follows: First and Last Name of students who have the Last name that starts with an M. Question Assignment # 9 – Write a SQL statement to produce output as follows: First and Last name of students having an o in the second position in their First Name. Question Assignment # 10 – Write a SQL expression to produce output as follows: display the Status for, and the number of occurrences that apply to each status. You must use the Count(*) function. You must show the result of the Count(*) function as CountStatus. Group by Status and output the results in ascending order of CountStatus.
Step 5: Submit your work. Once you complete ALL tasks noted above, zip the files YourLastName_Project_Ph1_Question Assignment.sql AND YourLastName_Project_Ph1_Output and submit them.
Rubric:
Queries that are correct will be awarded the number of points shown below:
20 points: each Question Assignment 1-10. Total of 200 Points.
The below rubric specifications applied to this assignment. Point deductions will apply as follows:
0 points: If the student does not complete any of the required queries per the specifications. -15 points: Question Assignment submitted simply will not run -10 points: Question Assignment submitted runs. BUT is partially correct as the Question Assignment required a WHERE statement, but the student did not included in the Question Assignment. -8 points: Question Assignment submitted runs. BUT is partially correct as the quired required a WHERE statement, but contained ERRORS, the Question Assignment outputs pop-ups requesting user input, or partially addresses the requirements presented.
*****IMPORTANT**** The submission MUST be ONE zipped file (not an RAR file) with the two files listed below included. The actual SQL file (not copied into any other type of document) and the Word document.**** If any other type of submission is submitted 0 points will be earned. “YourLastName” means to replace with your actual name.
———
SQL Queries Using MySQL as a Database Management System (DBMS). For a complete introduction and demonstration of the MySQL DBMS, as well as general background for your Course Project Ph1, see the attached video (Course Project Ph1 VIDEO.mp4).
Deliverables:
YourLastName Project Ph1 Question Assignment.sql is the SQL file to use. To complete the activities listed below, the file must have a SELECT statement and needed clauses (Question Assignment 1-10).
YourLastName Project Ph1 Output in Microsoft Word. The queries and outputs are contained in this file.
Students must upload a ZIP file containing these two documents as a ZIP file.
Software Requirements:
MySQL DBMS by Oracle. MySQL Community Server and MySQL Workbench.
Lab Steps:
Step 1: Download and install the MySQL DBMS System by Oracle. Follow the step-by-step instructions attached to install the MySQL DBMS in your computer. Also, reference the supplemental text: Available