Course Syllabus POS/410 Version 2.

8

1

Course Syllabus
College of Information Systems & Technology POS/410 Version 2.8 SQL for Business
Copyright © 2010, 2009, 2008, 2007, 2006 by University of Phoenix. All rights reserved.

Course Description This course covers Structured Query Language (SQL) that provides a unified language that lets you query, manipulate, or control data in a business applications environment. Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents:   University policies: You must be logged into the student website to view this document. Instructor policies: This document is posted in the Course Materials forum.

University policies are subject to change. Be sure to read the policies at the beginning of each class. Policies may be slightly different depending on the modality in which you attend class. If you have recently changed modalities, read the policies governing your current class modality. Course Materials Vieira, R. (2009). Beginning Microsoft SQL Server 2008 Programming. Indianapolis, IN: Wiley Publishing, Inc. Software Microsoft SQL Severer 2008 (Virtual Desktop) Supplemental Resource Rob, P., & Coronel, C. (2009). Database systems: Design, implementation, and management (8th ed.). Boston: Course Technology. Article References Barnett, R. (2008, October 13). Anatomy of a SQL-injection attack. Network World, 25(40), 30. Ben-Gan, I. (2009, September). Logged inserts. SQL Server Magazine, 11(9), 21. Campbell, D., & Nori, A. (2007). The Microsoft data platform. International Conference on Management of Data. Proceedings of the 2007 ACM SIGMOD international conference on Management of data, 1053-1060. Cerullo, C., & Porta, M. (2007, September). A system for database visual querying and query visualization: Complementing text and graphics to increase expressiveness. 18th International Conference on Database and Expert Systems Applications (DEXA 2007), 109-113. Nori, A. (2007). Mobile and embedded databases. International Conference on Management of Data. Proceedings of the 2007 ACM SIGMOD International Conference on Management of Data, 1175-1177.

3. ASSIGNMENTS Submission of Individual and Learning Team assignments For each assignment. (2009. All electronic materials are available on the student website. Business intelligence and the new analytical databases. A title page including your name.8 2 Pathivada. SQL Server Magazine. Managing time in relational databases. M. Cluster by: A new SQL extension for spatial data aggregation. 11(6). October 1). S. D. & Johnston. (2007). Y. each team member’s name should be on the title page. Copy and paste the results. DM Review. 35.. SQL Server Magazine. Sellers. Pivoting the dynamic way. part 1. C. (2009. Your name should also be included in the header of the documents. a. All SQL query statements (copy and paste from your query editor). or provide a screen shot of the resulting views. R.. Weis. June). For Learning Teams. 2. & Huang. the import function may be used. What would BI apps look like if they weren't designed around the constraints of relational databases? Information Management. A short analysis of the query (at least two complete sentences) stating if the query executed as expected . November). (2009. 17(5). May). Proceedings of the 15th Annual ACM International Symposium on Advances in Geographic Information Systems. T. However. (2007. Geographic Information Systems. Due to the large volume of records associated with the Learning Team assignment. 20. 52. Results will include the execution status statement results 5. C. make sure that you provide a single MS Word document that contains the following items: 1. Code is to be manually typed. Raab. 19(8). 15. simply include your team name in the header. 11(11). (Select *) 4.Course Syllabus POS/410 Version 2. Zhang. Avoid referential integrity errors when deleting records from databases.

3. Read Ch. “Adding More to Our Queries. Read Ch. Read Ch. Read Ch.2 Apply multiple-table queries. “JOINs.” of Beginning Microsoft SQL Server 2008 Programming. 2. Read this week’s Electronic Reserve Readings. The Learning Team assignment for this class. “SQL Accounting Database. “RDBMS Basics: What Makes Up a SQL Server Database?” of Beginning Microsoft SQL Server 2008 Programming. Read Ch. Due Points Review the Learning Team Toolkit.” A link to the Virtual Organizations can be found on the Course Materials page. Read the Week One Read Me First.8 3 Week One: SQL Tables Details Objectives Course Preparation 1.” of Beginning Microsoft SQL Server 2008 Programming.1 Create tables using SQL. 2 1 2 Participation Weekly Summary Discussion Questions Learning Team Instructions Start your a Learning Team Charter. “Creating and Altering Tables. Readings Read Ch. is based upon Service Request SR-kf-009. 2.” of Beginning Microsoft SQL Server 2008 Programming. Make sure you have access to the required software:   Microsoft SQL Severer 2008 (Virtual Desktop) NOTE: The Microsoft SQL Severer 2008 Virtual Desktop can be accessed on the left hand side of the Course Materials Page. Week Two: Table Queries Details Objectives 2. 1. “Tools of the Trade. 7. Respond to weekly summary Respond to weekly discussion questions.1 Apply single-table queries.” of Beginning Microsoft SQL Server 2008 Programming. Participate in class discussion. “The Foundation Statements of T-SQL.Course Syllabus POS/410 Version 2. 4. Read the course description and objectives.” of Beginning Microsoft Due Points Readings . 5.

Monday. May 21 15 Individual Table Queries Create a SQL Server Database for Kudler Fine Foods. 3. 2. Participation Weekly Summary Discussion Questions Learning Team Instructions Participate in class discussion.g. Create a Learning Team charter. Some of the data you will need to create (e. 2 1 2 Your Learning Team assignments will be based on Kudler Fine Foods Service Request SR-kf-009 – “SQL Accounting Database. Respond to weekly summary Respond to weekly discussion questions. 3. This timeline does NOT have to be created in MS Project. Go to ‘Materials’. document the logic that you used to do so. 4. then select the link “Service Requests” Under Virtual Organizations. This includes tasks such as identifying primary and foreign keys.SQL Accounting Database Monday.Course Syllabus POS/410 Version 2. Make sure that you address a contingency plan if a team member(s) drops the course. Develop a detailed project plan where you will define the tasks. Read this week’s Electronic Reserve Readings. work assignments and timeline.8 4 SQL Server 2008 Programming.” 1. 2. 1. How do you intend to structure your database? All of these steps are to be submitted to the instructor for review.  Create the following two tables using the following fields:  (Note: Supply the SQL Server data types when creating the . begin illustrating the data characteristics. a. social security numbers). Also. Select SR-kf-009 -. On Kudler Fine Foods’ intranet site analyze the current Chart of Accounts. Most of your data will be available on the Kudler Fine Foods intranet site.  SPECIAL NOTE: You may create your database using one or multiple tables. May 21 5 Based on this service request. Read the Week Two Read Me First. If you have to create data. select “IT Service Requests” Go to the right side of the page to Kudler Fine Foods. a.

Bakery & Pastry  Retail Asst. use the SQL INSERT statement to: 1.8 5 tables. enter the following records into the job_title table. Using information found in the Employee Files for the La Jolla and Encinitas stores.Course Syllabus POS/410 Version 2. enter records into the employee table for the following employees:  Glenn Edelman  Eric McMullen  Raj Slentz  Erin Broun  Donald Carpenter  David Esquivez  Nancy Sharp 2.  Accounting Clerk  Asst. Go to the Human Resources department in the Kudler Fine Foods intranet. Butchers and Seafood Specialists . Manager  Bagger  Cashier  Computer Support Specialist  Director of Finance & Accounting  Retail Asst. Apply the primary keys to the tables. in the Kudler Fine Foods intranet. After viewing the job classifications and job descriptions section.)  Employee Table  Social_security_number (you will need to create your own SS#s)  Last_name  First_name  Address  City  State_code  Zip_code  Telephone_area_code  Telephone_number  Email_address  Job_title_code  Hire_date  Salary  Age  Job_ID (this is the EEO-1 Classification)  Job_title Table  Job_ID  Job_title  Exempt_non_exempt_status  High_Salary  Low_Salary  Using information from the Human Resource Department.

10. Non-exempt employees at Kudler Fine Foods are paid an hourly wage and must track their working hours. Week Three: Data Changes Details Objectives 3. entitled “Full Name” in the following format – Bob Smith. Here illustrate the data types. Read this week’s Electronic Reserve Readings.” of Beginning Microsoft SQL Server 2008 Programming. “Constraints. “Creating and Altering Tables. Read Ch. (Due to the number of records you may use the Import feature or SQL script. Read the Week Three Read Me First.” of Beginning Microsoft SQL Server 2008 Programming. 5.Course Syllabus POS/410 Version 2.8 6  Stocker 3. “Views.) Monday. how did you determine how you would enter their salaries? 4. Respond to weekly summary Respond to weekly discussion questions.2 Apply changes to tables. Write a query. that shows the employee’s name in one column. For example. 3. Participate in class discussion. 5. Read Ch. “SQL Accounting Database”   Define the SQL Database. Read Ch. primary keys. May 28 5 . Place the data from the Chart of Accounts spreadsheet into the SQL database. All of these steps are to be submitted to the instructor for review.1 Apply changes to data. 9. ect.” of Beginning Microsoft SQL Server 2008 Programming. Check results by selecting all columns from both tables. Document your rationale for exempt and non-exempt employees. 2 1 2 Due Points Readings Participation Weekly Summary Discussion Questions Learning Team Instructions Continue working on the Service Request SR-kf-009. 6. Read Ch. “SQL Server Storage and Index Structures.” of Beginning Microsoft SQL Server 2008 Programming.

Cashiers.’e’.)  Create a query that shows all employees whose name has the second letter of either an ‘a’. how many positions have more than 3 employees? (e. Monday. They want the listing to show the first initial of the employee’s last name.)  Using the HAVING command.1 Apply reporting in SQL. Check the results by selecting all of the columns from both of your tables Using the database and tables in Week Two.’o’ or ‘u’.  Human Resources has requested a listing of employees. Due Points . the first letter of their last name. Supervisor’. they want the report in the following sort order: exempt/non-exempt status. grouped into exempt and non-exempt.  Write a SQL query that joins two tables in the example database and uses LIKE to restrict record selection. Individual Data Changes and SQL Statements  Using the database and tables from Week Two. write the following queries:  Use the COMPUTE command to generate a grand total for all of the exempt employees salaries. Document any changes that you have made to your database. write SQL statements and enter five additional records into the employee table. must have their job title changed to “Sr. May 28 15   Week Four: Reports Details Objectives 4.8 7    Make sure to note the number of records that you loaded to your database. Bob. (Use salary to restrict the data. how many employees are over age 47?  Write a SQL query that joins two tables in your database and uses BETWEEN to restrict record selection. first name and salary. For example: Exempt. (Use zip codes to restrict data. S.000  Due to a corporate mandate. Create values for the accounts and document your logic for creating these values.g.  Select employees’ last names and group them by salary in job titles.Course Syllabus POS/410 Version 2. 4) Using the updated database. last name. Manager”. all employees who are “Asst. write SQL queries using various commands:  Using the COUNT command. Smith. In addition. $50.

501 – 5. June 4 15 The HR Department recently submitted a change request. “Stored Procedures.500. Monday. Choose a specific job_title and increase the salary of all individuals in this category by 2. in descending order. . Respond to weekly summary Respond to weekly discussion questions.       Sort all employees by payroll. Read this week’s Electronic Reserve Readings. write queries using the SQL SELECT statement. “Writing Scripts and Batches. 11.000 or greater than $5.5%. 12. Sir!: A Look At Reporting Services. Read the Week Four Read Me First. Read Ch. As a result. Participate in class discussion. “Reporting for Duty. $2. In a separate query … use a CASE statement to identify individual accounts with a balance less than $2. 2 1 2 Participation Weekly Summary Discussion Questions Learning Team Instructions Continue work on the Learning Team Project. You discovered that at the last minute Robert decided not to accept the offer and that he should not have been added to your database. executive management has decided to relocate the Del Mar store to Chula Vista. Show how you made the change and the modification Use the proper SQL command in order to tell the number of unique accounts that you have in your database.” of Beginning Microsoft SQL Server 2008 Programming.000. They want the following information extracted from the database – based on the employee’s actual salaries.” of Beginning Microsoft SQL Server 2008 Programming. June 4 10  Due to demand. Make sure to illustrate the salaries before and after the modifications (Select *). Add a ‘Robert Simms’ as a new hire to the Employee table. Monday. 17.Course Syllabus POS/410 Version 2.” of Beginning Microsoft SQL Server 2008 Programming.   Individual SQL Reports Building on the previous database.75%. Increase the remaining employee’s salaries by 3. Read Ch. Calculate the total payroll of exempt and non-exempt employees (before & after the adjustments are made). this information needs to be deleted from the table.8 8 Readings Read Ch.

Include in your synopsis the following items:  Create the final SQL database Chart of Accounts report. create a temporary field that calculates the total service time (in years) of each employee. Participate in class discussion. Read Ch. Respond to weekly summary Respond to weekly discussion questions. Using the UNION command also display the same information for the non-exempt employees. June 11 10 .” of Beginning Microsoft SQL Server 2008 Programming. “User-Defined Functions. Monday. Read the Week Five Read Me First. “Triggers. Determine if there are any employee’s whose salary is below the minimum salary for their job title. write a report that discusses the logic of the query that you created to fulfill his Service Request. The results should be sorted in descending order. minimum and maximum salary for exempt employees. Calculate the maximum salaries for exempt and non-exempt employees. Using a CASE statement. 13.1 Explain embedded SQL. Calculate the number of exempt and non-exempt employees there are. Since Harvey is not a technical manager. 15. Week Five: Embedded SQL Details Objectives 5. use a CASE statement to identify employees who are over 54 years old and have over 20 years of service time with the company. Read Ch. by job code. Read this week’s Electronic Reserve Readings. 2 1 2 Due Points Readings Participation Weekly Summary Discussion Questions Learning Team Project Complete work on the Learning Team project.Course Syllabus POS/410 Version 2. Calculate the average. illustrate:  Assuming that today’s date is 12/2/2025. 5.2 Apply SQL to a business application.” of Beginning Microsoft SQL Server 2008 Programming. In the same query. Identify them as “Potential Retirees”.8 9      Calculate the average salary for all employees.

” How do you effectively balance the costs of programmer training with the related benefits? How would you write a justification for a training class during a time of expense reductions? What would it contain? (Due Day 3)  Anil Nori mentions 7 characteristics of mobile and embedded characteristics. What is a stored procedure and how can it be beneficial? Name at least two instances where the use of stored procedures was beneficial to the author. Support your answer with an example from your current or previous workplace.8 10   Submit query. the authors discuss data trends in the marketplace and Microsoft’s corresponding initiatives to keep their products up-to-date. Substring. IN. how could a struggling company keep or attract technology “experts”? What non-financial factors could be a factor? (Due Day 5)  . Discuss the logic that explains what this query does and why you created it. (Due Day 3) Weis & Johnston (2007) say the dimension of time is inadequately incorporated in database management systems and SQL. (Due Day 5) In the Campbell & Nori (2007) article. discuss the advantages and disadvantages of the SQL PIVOT statement. screen shots and the Chart or Accounts report for grading. Optional Discussion Questions Week One Discussion Questions  Oftentimes. (Due Day 3) One well-known publication mentioned that in a period of economic uncertainty many companies need experts to help them remain competitive in this current economic environment. Learning Team Evaluation  Each student is to submit a separate Learning Team evaluation. Finally. With this in mind. Discuss one supporting reason for this assertion and why the authors say it is important. AND. LIKE and COMPUTE. select 3 of these components and explain how they could be useful to a mobile professional. when expense reductions occur in a company it is not uncommon for training to be one of the first items “cut.Course Syllabus POS/410 Version 2. Discuss one trend and an example of how Microsoft added functionality to the SQL server to keep products aligned with the trend. (Due Day 7)  Week Two Discussion Questions   Based on the Sellers (2009) article. First what is an embedded characteristic? Secondly. CASE. create one query that uses the commands OR. (Due Day 5) Week Three Discussion Questions  Pathivada's article discussed stored procedures and multiple benefits associated with them.

sponsorship. Edited in accordance with University of Phoenix® editorial standards and practices. . Inc. in the United States and/or other countries. or affiliation. Use of these marks is not intended to imply endorsement.Course Syllabus POS/410 Version 2. what are the issues with using SQL when accessing the new business intelligence analytical databases? (Due Day 5)  Copyright University of Phoenix® is a registered trademark of Apollo Group. the authors propose introducing a CLUSTER BY clause into SQL. Describe how criminals can use SQL to steal or destroy customer data. (Due Day 3) Based on the Raab (2009) article. Windows®. and Windows NT® are registered trademarks of Microsoft Corporation in the United States and/or other countries. What functionality does their proposed clause provide? How might your current or previous workplace use it in a SQL query? (Due Day 3) Based on the Cerullo & Porta (2007) article. Microsoft®. (Due Day 5)  Week Five Discussion Questions  Barnett (2008) discusses the security risk of using SQL in e-commerce applications. All other company and product names are trademarks or registered trademarks of their respective companies.8 11 Week Four Discussion Questions  In the Zhang & Huang (2007) article. what is your opinion of visual approaches? Provide an explanation that supports your opinion. and how organizations can prevent these problems from happening in the first place.

Master your semester with Scribd & The New York Times

Special offer for students: Only $4.99/month.

Master your semester with Scribd & The New York Times

Cancel anytime.