Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

[TECH ED] SQL Problems using Google Sheets #103

@SallyMcGrath

Description

@SallyMcGrath

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.

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 working for this business, I need to work out the total sales we've made in each country to pay our taxes. Write a query to return a list of each closed deal (they have status of "Closed Won") and sort them by country so we can work this out easily.
  3. 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 all three 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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    🧠 Prep workPrep material to be completed before Saturday's session🎯 Topic RequirementsInterpreting requirements with precision and accuracy🎯 Topic Structuring DataDescribing, organising, and systematising data📅 Sprint 3Assigned during Sprint 3 of this module📍 SQLFocusing on SQL

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions