CodeYourFuture / CodeYourFuture/Module-JavaScript-Fundamentals

SQL Problems using Google Sheets

Open
#7 2 comments 0 reactions 0 assignees View on GitHub
🏕 Priority Mandatory 📅 Sprint 3 Core Module-Onboarding Submit:Issue
Dominant language
JavaScript
Stars
3
Forks
542
Avg merge
6h 54m
Merged PRs (30d)
3

Description

### 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".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.