Write a query to count the number of projects

Assignment Help Other Subject
Reference no: EM133688465

IT Project Management

Question 1: XYZ Online Bookstore is planning to upgrade its website to improve user experience and increase sales. The development team has been tasked with implementing new features and functionalities using Scrum methodology. These features are given below;

Improve navigation, search, and checkout processes.
Implement tailored book suggestions based on user preferences.
Ensure the website is mobile-friendly for seamless browsing.
Integrate social media features for enhanced engagement.
Introduce a rewards system to incentivize customer loyalty.
Improve search functionality and filtering options.

Allow users to preview books with interactive features.

Based on the features provided for the XYZ Online Bookstore upgrade, categorize each feature using the MoSCoW method (Must Have, Should

Have, Could Have, Won't Have) according to its importance and urgency for implementation.

Based on the prioritized features, divide them into sprints for implementation using the Scrum framework. When organizing the features into sprints, what factors did you consider, and how did they impact your decision-making process?

How will stakeholders be involved in Scrum to provide feedback and ensure alignment with business goals? Briefly explain.

Use any tool to draw the Sprint Backlog Table for this project, similar to the one discussed in the lecture today.

Introduction to SQL

Question 1: Explain the difference between an ORDER BY clause and a GROUP BY clause.

Question 2: What is the difference between the COUNT aggregate function and the SUM aggregate function?

Question 3: In a SELECT query, what is the difference between a WHERE clause and a HAVING clause?

Question 4: What is a subquery, and what are its basic characteristics?

Question 5: The ConstructCo database stores data for a consulting company that tracks all charges to projects. The charges are based on the hours each employee works on each project. The structure and contents of the ConstructCo database are shown in Figure 1.

1728_ConstructCo Database.jpg

 

Note that the ASSIGNMENT table in Figure 1 stores the JOB_CHG_HOUR values as an attribute (ASSIGN_CHG_HR) to maintain historical accuracy of the data. The JOB_CHG_HOUR values are likely to change over time. In fact, a JOB_CHG_HOUR change will be reflected in the ASSIGNMENT table. Naturally, the employee primary job assignment might also change, so the ASSIGN_JOB is also stored. Because those attributes are required to maintain the historical accuracy of the data, they are not redundant.

Part 2

Given the structure and contents of the ConstructCo database shown in Figure 1, use SQL commands to answer the questions below:

Question 1: Download the following file from the Moodle: 07_ConstructCo_mysql_txt.

Question 2: Import file into XAMPP.

Question 3: Write a query to count the number of projects.

Question 4: Write a query to count the number of Employees with the Assign charge more than 150.

Question 5: Write the SQL code required to list the employee number, last name, first name, and middle initial of all employees whose last names start with Smith. In other words, the rows for both Smith and Smithfield should be included in the listing. Sort the results by employee number.

Question 6: Using the EMPLOYEE, JOB, and PROJECT tables in the ConstructCo database, write the SQL code that will join the EMPLOYEE and PROJECT tables using EMP_NUM as the common attribute. Display the attributes shown in the results presented in Figure 2, sorted by project value.

63_ConstructCo Database1.jpg

 

Question 7: Write the SQL code that will produce the same information that was shown in Figure 2, but sorted by the employee's last name.

Question 8: Write the SQL code that will list only the distinct project numbers in the ASSIGNMENT table, sorted by project number.

Question 9: Write the SQL code to validate the ASSIGN_CHARGE values in the ASSIGNMENT table. Your query should retrieve the assignment number, employee number, project number, the stored assignment charge (ASSIGN_CHARGE), and the calculated assignment charge (calculated by multiplying ASSIGN_CHG_HR by ASSIGN_HOURS). Sort the results by the assignment number.

Question 10: Using the data in the ASSIGNMENT table, write the SQL code that will yield the total number of hours worked for each employee and the total charges stemming from those hours worked, sorted by employee number. The results of running that query are shown in Figure 3.

2128_ConstructCo Database2.jpg

Reference no: EM133688465

Questions Cloud

Integrate social media features for enhanced engagement : Integrate social media features for enhanced engagement. Introduce a rewards system to incentivize customer loyalty
Avoided for the treatment of migraines : If the patient were taking a SSRI, which drug class should be avoided for the treatment of migraines?
Implementation using the scrum framework : Implementation using the Scrum framework. When organizing the features into sprints, what factors did you consider, and how did they impact your decision-making
Orexin receptor antagonist indicated for sleep onset : The orexin receptor antagonist indicated for sleep onset and sleep maintenance but contraindicated in narcolepsy
Write a query to count the number of projects : Explain the difference between an ORDER BY clause and a GROUP BY clause and What is a subquery, and what are its basic characteristics
Find interesting from your reading of african american dance : What did you learn or find interesting from your reading of African American Dance and Social Positivism During the 1930's by John O. Perpener III?
Hospitalized for herniorrhaphy : In which medical report may these statements be found? Hospitalized for herniorrhaphy 10 years ago.
Why did some americans criticize the new deal : How did the New Deal reorient Americans' relationship to government? Why did some Americans criticize the New Deal?
Education in public health-social work and psychology : Education in public health, social work, psychology, or a related field will be a requirement, healthcare administration can be beneficial.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd