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_Query.sql. File must contain SELECT statement and required clauses to address the required tasks note below (Query 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_Query.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 query, save and past the output in a MS Word document. Name your file YourLastName_Project_Ph1_Output.
 Query # 1 –  Write a SQL statement to produce output as follows: Student’s First and Last Name. Query # 2 – Write a SQL statement to produce output as follows: the Major of the STUDENT with no duplications. Do not display student names.  Query # 3 – Write a SQL statement to produce output as follows: First and Last Name of students who live in the Zip code 32828.  Query # 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.  Query # 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.  Query # 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. Query # 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.  Query # 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.  Query # 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.  Query # 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_Query.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 query 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: Query submitted simply will not run -10 points: Query submitted runs. BUT is partially correct as the query required a WHERE statement, but the student did not included in the query.   -8 points: Query submitted runs. BUT is partially correct as the quired required a WHERE statement, but contained ERRORS, the query 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. 

Installing MySQL
I T S 5 3 8 : D ATA B A S E S Y S T E M S

ITS 538
Database Systems

Course Project Ph1

Miguel Buleje, PhD
Miguel.Buleje@ucumberlands.edu

mailto:Miguel.Buleje@ucumberlands.edu

MySQL- Intro

• MySQL is a an open source DBMS by Oracle with a Community
Version free to down load. I will demonstrate in this presentation how
to install the latest version for MySQL at this time that is V.8, on a 64
bit version of WIN 10.

• Components Required to complete your Projects:

• MySQL Server

• MySQL Workbench

• I will present in this instructional document a series of screen shoots
to walk you through the installation process. We are going to use the
Installer utility to install the latest MySQL Community Server and
Workbench.

Step 1: Visit the URL below (dev.mysql.com)

Step 1: Navigate to “Downloads”

Step 3: Select “MySQL Community Server”

Step 4: MySQL Installer – “Go to Download Page”

Step 5: Select OS AND Download Smaller File

Step 6: Start Download (follow the option below)

Step 7: Open Downloaded File

Step 8: Chose Setup Type – “Custom”

Step 9 (a): Select Products and Features
(Select MySQL Server V8.0.20 x64 & Workbench V8.0.20 – x64 for bit system)

Step 9 (b): Select Products and Features
(Select MySQL Server V8.0.20 x64 & Workbench V8.0.20 – x64 for bit system)

Step 9 (c): Select Products and Features
(Select MySQL Server V8.0.20 x64 & Workbench V8.0.20 – x64 for bit system)

Step 10: Initiate Installation – “Execute”

Step 11: Complete Installation – “Next”

Step 12: Product Configuration – “Next”

Step 13: High Availability
(Standalone MySQL Server/ Classic MySQL Replication)

Step 14: Type and Networking
Config. Type: Development Computer
Port: XXXX (Must keep record for this number. Please write down)
All other settings intact.

Step 15: Authentication Method
(Use Legacy Authentication Method)

Step 16: Accounts and Roles
(Write down your Root Password – very important)

Step 17: Windows Service
(Configure MySQL Server as a Windows Service)

Step 18: Apply Configuration – “Execute”

Step 19: Apply Configuration – “Finish”

Step 20: Product Configuration – “Next”

Step 21: Apply Configuration – “Finish”

Step 22: Installation Complete – “Finish”

Step 23: Welcome to MySQL Workbench
(Use authentication / credentials you created)

Step 24: SQL Workbench – READY!

DROP TABLE IF EXISTS STUDENT;
DROP TABLE IF EXISTS CAMPUS;
DROP TABLE IF EXISTS SEMESTER;
DROP TABLE IF EXISTS ROOM;
DROP TABLE IF EXISTS GRADES;
DROP TABLE IF EXISTS COURSE;
DROP TABLE IF EXISTS INSTRUCTOR;
DROP TABLE IF EXISTS APPROVED_INSTRUCTOR;
DROP TABLE IF EXISTS CLASS;
DROP TABLE IF EXISTS STUDENT_GRADE;

CREATE TABLE STUDENT(
STUDENT_ID INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY,
Last_Name VARCHAR(30),
First_Name VARCHAR(30),
Address VARCHAR(40),
ZIP VARCHAR(10),
MAJOR VARCHAR(20),
CLASS int(2),
STATUS VARCHAR(20));

INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Morote’,’Italo’,’P.O. Box 619, 5808 Semper St.’,’32828′,’MATHEMATICS’,2,’FAILING’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Martin’,’Yacky’,’313-6948 Nunc, Ave’,’36702′,’SPANISH’,3,’SATISFACTORY’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Yostin’,’Duglas’,’Ap #593-8291 Id St.’,’26151′,’BUSINESS’,1,’SATISFACTORY’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Dasti’,’Cosimel’,’328-4572 Elit Rd.’,’95886′,’SPANISH’,2,’FAILING’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Dixon’,’Steve’,’Ap #547-7314 Feugiat. Street’,’42756′,’PHIL’,1,’FAILING’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Alfaro’,’Patricia’,’P.O. Box 977, 6922 Sed Street’,’52838′,’ENGLISH’,1,’FAILING’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Farruco’,’Rose’,’Ap #179-4485 Lectus Road’,’10816′,’ENGLISH’,3,’FAILING’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Pope’,’Vector’,’Ap #878-2252 Curabitur Av.’,’53175′,’PHYSICS’,3,’SATISFACTORY’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Los’,’Angeles’,’Ap #552-758 Convallis St.’,’56968′,’FINANCE’,3,’FAILING’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Diaz’,’Cameron’,’Ap #145-1961 Sed Street’,’63397′,’BUSINESS’,3,’SATISFACTORY’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Gonzalez’,’Andew’,’Ap #141-9425 In Road’,’87521′,’BUSINESS’,4,’SATISFACTORY’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Michael’,’Jordan’,’Ap #412-5802 Venenatis Rd.’,’77696′,’MARKETING’,2,’FAILING’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Chelerson’,’Scholy’,’911-8666 A Rd.’,’32829′,’CIS’,2,’SATISFACTORY’);
INSERT INTO STUDENT (Last_Name, First_Name, Address, ZIP, MAJOR, CLASS, STATUS)
VALUES(‘Payton’,’Tanya’,’5759 Nec, Street’,’23461′,’SPANISH’,3,’FAILING’);
INSERT INTO STUDENT (Last_Name, First_Name, A




Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.