Lab 2 of 7: Using Functions in SQL
iLab Overview
Scenario/Summary
Using the Northwind database, you have been requested to select data for specific needs. Once selected, your data will be presented to management. You will have to determine which fields are the most appropriate to be selected. Do not include any fields that management does not need to see.
Upon completing this lab, you will be able to
1.use the appropriate functions needed to produce the required output; and
2.use date functions to extract the date parts (month, day, year) and perform date related calculations.
Deliverables
NOTE
Submit 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.)
Following along with an instruction file, you will document your completion of the following tasks:
Section
Deliverable
Points
Part A
Employee List
4
Part B
Date function
4
Part C
Using a calculation in a query
4
Part D
Practice SUM function
5
Part E
Practice Average, Maximum, and Minimum function
5
Part F
Practice function when value is NULL
5
Part G
Using GROUP BY clause
5
Part H
Using the HAVING function on WHERE clause
5
Part I
Using function to calculate date difference
5
Part J
Using conversion function
5
Total Points
47
Remember This!
Connect to the iLab here.
Lab Steps
Preparation
1.Download Guide_to_SQL_Server_Management_Studio_2008.docx from Doc Sharing.
2.Download BIS345_Lab2_Questions.docx from DocSharing and save a copy using the naming structureLastName_FirstName_Lab2_Questions.docx. You will answer the questions and provide screen prints as required for each part of the lab.
3.To login to the Citrix remote lab, follow the instructions located in the iLab item under Course Home.
4.Follow the steps in Guide_to_SQL_Server_Management_Studio_2008.docx to
ostart SQL Server Management Studio;
ocreate a new project;
oadd a query file; and
oget the required output.
Steps
Complete the steps for this lab as directed in BIS345_W2_iLab_instructions.docx.
Submit your work
Submit your completed LastName_FirstName_Lab2_Questions.docx to the Week 2 iLab Dropbox.
Submit 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.
Comments
Content
Lab 2 of 7: Using Functions in SQL
iLab Overview
Scenario/Summary
Using the Northwind database, you have been requested to select data for specific needs. Once selected, your data will be presented to management. You will have to determine which fields are the most appropriate to be selected. Do not include any fields that management does not need to see.
Upon completing this lab, you will be able to
1.use the appropriate functions needed to produce the required output; and
2.use date functions to extract the date parts (month, day, year) and perform date related calculations.
Deliverables
NOTE
Submit 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.)
Following along with an instruction file, you will document your completion of the following tasks:
Section
Deliverable
Points
Part A
Employee List
4
Part B
Date function
4
Part C
Using a calculation in a query
4
Part D
Practice SUM function
5
Part E
Practice Average, Maximum, and Minimum function
5
Part F
Practice function when value is NULL
5
Part G
Using GROUP BY clause
5
Part H
Using the HAVING function on WHERE clause
5
Part I
Using function to calculate date difference
5
Part J
Using conversion function
5
Total Points
47
Remember This!
Connect to the iLab here.
Lab Steps
Preparation
1.Download Guide_to_SQL_Server_Management_Studio_2008.docx from Doc Sharing.
2.Download BIS345_Lab2_Questions.docx from DocSharing and save a copy using the naming structureLastName_FirstName_Lab2_Questions.docx. You will answer the questions and provide screen prints as required for each part of the lab.
3.To login to the Citrix remote lab, follow the instructions located in the iLab item under Course Home.
4.Follow the steps in Guide_to_SQL_Server_Management_Studio_2008.docx to
ostart SQL Server Management Studio;
ocreate a new project;
oadd a query file; and
oget the required output.
Steps
Complete the steps for this lab as directed in BIS345_W2_iLab_instructions.docx.
Submit your work
Submit your completed LastName_FirstName_Lab2_Questions.docx to the Week 2 iLab Dropbox.
Submit 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.