05 Jun MIS582 week 1 ilab 2017
Question
This week, you will learn to create and run SQL SELECT queries in the MySQL database. You will need to create a database in MySQL via Omnymbus, run a SQL script to create tables and insert data, create and execute SQL SELECT queries using the STUDENT table.
Please ensure that you can connect to MySQL/Omnymbus via the account your Professor has emailed to you. Please consult with the document titled MySQLOmnymbusSupport.docx ?located in the Doc-Sharing folder titled Omnymbus Tutorial Files for instructions on how to get help for any issues that you are having with the MySQL/Omnymbus Environment.
DELIVERABLES
NOTESubmit your assignment to the Dropbox, located at the top of this page. For instructions on how to use the Dropbox, read these step-by-step instructions.
(See the Syllabus section “Due Dates for Assignments & Exams” for due dates.)
- SQL file named LastName_Lab1_Query.sql containing SELECT statements
- Word document named LastName_Lab1_Output containing queries and output
- Zip the files, and upload the zipped file to the Week 1: iLab Dropbox.
REQUIRED SOFTWARE
Omnymbus – MySQL
Access the software at https://devry.edupe.net:8300
Steps: 1–4
LAB STEPS
STEP 1: LOGGING IN TO OMNYMBUS
- Look at your email account to obtain the MySQL/Omnymbus account and password that your Professor has emailed to you.
- To help you log into MySQL Omnymbus environment, download the tutorial Login MySQL Omnymbus Environment in the Doc-Sharing folder titled “Omnymbus Tutorial Files”.
STEP 2: CREATE A DATABASE AND MODIFY YOUR SCRIPT TO REFERENCE YOUR DATABASE
Create a MySQL database:
- Download the tutorial Creating a Database in MySQL Omnymbus Environmentfrom the folder in Doc-Sharing titled Omnymbus Tutorial Files.Follow the steps to create a database in MySQL, especially paying attention to the database naming conventions specified in the tutorial.
- Download the WeekOneiLabScript.sqlfile from Doc Sharing in the folder titled iLab Documents
STEP 3: RUNNING SCRIPT FILE IN MYSQL, CREATE SQL SELECT QUERIES
Run scripts files in MySQL:
- Download the tutorial Running SQL Scripts in MySQL Omnymbus environment from the folder in Doc-Sharing titled Omnymbus Tutorial Files. Follow those steps to help execute the WeekOneiLabScript.sqlfile needed to create the needed tables and to insert data into them.
Create SQL SELECT Queries:
- Using the data in the Student table in the database, create a SQL script file named LastName_Lab1_Query.sql, containing queries to execute each of the tasks below.
- To 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.
- Save each query with a screen shot of the output in a MS Word document named Lastname_Lab1_Output.
| Name | Task |
|---|---|
| Query1 | Write a SQL statement to display Student’s First and Last Name. |
| Query2 | Write a SQL statement to display the Major of students with no duplications. Do not display student names. |
| Query3 | Write a SQL statement to display the First and Last Name of students who live in the Zip code 82622 |
| Query4 | Write a SQL statement to display the First and Last Name of students who live in the Zip code 97912 and have the major of CS. |
| Query5 | Write a SQL statement to display the First and Last Name of students who live in the Zip code 82622 or 37311. Do not use IN. |
| Query6 | Write a SQL statement to display the First and Last Name of students who have the major of Business or Math. Use IN. |
| Query7 | Write a SQL statement to display the First and Last Name of students who have the Class greater than 1 and less than 10. Use the SQL command BETWEEN. |
| Query8 | Write a SQL statement to display the First and Last Name of students who have a last name that starts with an S. |
| Query9 | Write a SQL statement to display the First and Last Name of students having an a in the second position of their first names. |
| Query10 | Write a SQL expression to display each Status and the number of occurrences of each status using the Count(*) function; display the result of the Count(*) function as CountStatus. Group by Status and display the results in descending order of CountStatus. |
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Order Now” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.
