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

  What management style would you enjoy the most

What management style (Autocratic, Democratic, or Free-Rein) would you enjoy the most? Do you think you have bright future as manager, or do you see yourself?

  Describe similarities between toc and terrorism

Describe similarities and differences between TOC and terrorism, and explain which is of more concern to you. Support your response.

  Define benefits of high-quality programs for young children

High-quality preschool education produces substantial long-term educational, social, and economic benefits (Barnett, 2004). However, children can only benefit.

  Analyze how the role of the physician in a medical practice

Analyze how the role of the physician in a medical practice has changed in the past twenty years. Assess three specific challenges.

  How important are good looks in determining

Based on the experiments you have read about, how important are "good looks" in determining whether one person is attracted to another?

  Elementary class containing autistic learner

Write an observational field note of an elementary class containing an autistic learner.

  Letter to your family

Compose a letter to your family in which you outline the fundamentals of the U.S. government.

  Common causes of expatriate failure

Explain the common causes of expatriate failure. What are the major success factors for expatriates? Explain the role and importance of each.

  Which option to adopt to meet BCG design business needs

You are required to develop recommendation for which option to adopt to meet BCG design business needs. You should; Summaries your recommendation

  Discuss one strength and one weakness of each article

Submit a summary of six of your articles on the discussion board. Discuss one strength and one weakness to each of these six articles on why the article.

  Descartes used for his theory of knowledge

What are the methods and rules that Descartes used for his theory of knowledge? How did he arrive at this indubitable proposition "cogito ergo sum" (i think therefore i am) by means of his doubt of experience and authority?

  How much does the certification exam cost

How many CEUs, from those which are mandatory? How much does the certification exam cost? How often NP recertification is due?

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