CodeYourFuture / CodeYourFuture/Module-JavaScript-Fundamentals

SQL Problems using Google Sheets

未关闭
#7 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
🏕 Priority Mandatory 📅 Sprint 3 Core Module-Onboarding Submit:Issue
主要语言
JavaScript
星标
3
派生
542
平均合并
6 小时 54 分钟
30 天内合并 PR
3

描述

### Link to the coursework
https://docs.google.com/spreadsheets/d/1zPeHxhKkYmdiqXNhMwhfC1A0o1wI0zNiD5Gsks2SYoc/template/preview

### Why are we doing this?

To practice how to use Google Sheets to store and query data. This should make sure we understand the basics of SQL and how to use it to query data.

We're going to practice extracting data from a database, using SQL. We will use the same data set we used in the [Learn about Google Sheets coursework](https://docs.google.com/spreadsheets/d/1zPeHxhKkYmdiqXNhMwhfC1A0o1wI0zNiD5Gsks2SYoc/template/preview).

Please complete the following tasks:

1. Emily Smith would like to be able to quickly see how many deals she's made. She only cares about `Deal Value` and `Expected Close date` to see when she'll be paid. Create a query that will give only this information.
2. As the accountant for this business, I need to find out how much we’ve sold in each country to pay our taxes. Deals are only complete when they have the status `"Closed Won"`, so we should only include those deals. To make the data easier to work with, we can sort them by country. Can you write a query to get this information?

## Acceptance criteria

- [ ] I have completed both tasks.
- [ ] I have added them to a new sheet in my Google sheet I created in the "Learn about Google Sheets" coursework.

### Maximum time in hours

1

### How to get help

Share your blockers in the ITP Slack.

### How to submit

1. The work should be in the same Google Sheet as the "Learn about Google Sheets" coursework.
2. Share a link to your Google Sheet. Make sure to give read access to your sheet, you can do this by clicking the "Share" button, then change "Restricted" to "Anyone with the link".

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。