Skip to content

Commit 09bcd89

Browse files
committed
Address reviewer feedback
1 parent 3bed4cc commit 09bcd89

8 files changed

+26
-28
lines changed

learn-pr/advocates/challenge-github-copilot-sql/2-introduction-github-copilot-codespaces.yml renamed to learn-pr/advocates/challenge-github-copilot-sql/1-introduction-github-copilot-codespaces.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ metadata:
1111
ms.topic: unit
1212
durationInMinutes: 7
1313
content: |
14-
[!include[](includes/2-introduction-github-copilot-codespaces.md)]
14+
[!include[](includes/1-introduction-github-copilot-codespaces.md)]
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
### YamlMime:ModuleUnit
2-
uid: learn.challenge-github-copilot-with-sql.working-with-sql-using-github-copilot
3-
title: Working with SQL using GitHub Copilot
2+
uid: learn.challenge-github-copilot-with-sq.work-with-sql-using-github-copilot
3+
title: Work with SQL using GitHub Copilot
44
metadata:
5-
title: Working with SQL using GitHub Copilot
5+
title: Work With SQL Using GitHub Copilot
66
description: Learn how to leverage GitHub Copilot to write and optimize SQL queries more efficiently.
77
ms.date: 06/25/2025
88
author: Orin-Thomas
99
ms.author: orthomas
1010
ms.topic: unit
1111
durationInMinutes: 11
1212
content: |
13-
[!include[](includes/2-working-with-sql-using-github-copilot.md)]
13+
[!include[](includes/3-work-with-sql-using-github-copilot.md)]

learn-pr/advocates/challenge-github-copilot-sql/4-knowledge-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
### YamlMime:ModuleUnit
22
uid: learn.challenge-github-copilot-with-sq.knowledge-check
3-
title: Knowledge Check
3+
title: Knowledge check
44
metadata:
55
title: Knowledge Check
66
description: Check your knowledge.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ GitHub Copilot Chat's AI assistance features include:
2222

2323
By using AI to assist with coding tasks, GitHub Copilot can help you focus on higher-level design and problem-solving, rather than getting bogged down in syntax and implementation details.
2424

25-
## Understanding GitHub Codespaces
25+
## Understand GitHub Codespaces
2626

2727
GitHub Codespaces provides a cloud hosted development environment, ready to use and accessible from any computer with an internet connection and standards compliant web browser. You use GitHub Codespaces within your browser and when a codespace is loaded, you interact with it as you would any traditional IDE. GitHub Codespaces provides you with an environment that includes all the essential languages, tools, and utilities you need to code effectively.
2828

29-
![A screenshot of the GitHub Codespace interface, showing the explorer, a readme file, and the Ask Copilot pane](../media/codespace-interface.svg)
29+
![A screenshot of the GitHub Codespace interface, showing the explorer, a readme file, and the Ask Copilot pane.](../media/codespace-interface.svg)
3030

3131
You can also use the terminal pane within a GitHub Codespace to run commands, such as python scripts.
3232

33-
![A screenshot showing a python script being called from a GitHub codespace](../media/run-python-terminal.svg)
33+
![A screenshot showing a python script being called from a GitHub codespace.](../media/run-python-terminal.svg)
3434

35-
## Creating a GitHub Codespace
35+
## Create a GitHub Codespace
3636

3737
To begin developing using GitHub Codespaces, you can create a codespace from a template or from any branch or commit in a GitHub repository. When you create a codespace from a template, you can start from a blank template or choose a template suitable for the work you're doing.
3838

@@ -45,9 +45,9 @@ For example, you can:
4545

4646
To open a codespace from your GitHub account, start at the landing page of your repository, choose the Code button, and then choose Create codespace on the repository on the Codespaces tab.
4747

48-
![A screenshot showing how to open a GitHub Codespace from a GitHub repository](../media/open-codespace-repository.svg)
48+
![A screenshot showing how to open a GitHub Codespace from a GitHub repository.](../media/open-codespace-repository.svg)
4949

50-
## Customizing GitHub Codespaces
50+
## Customize GitHub Codespaces
5151

5252
You can customize your project for GitHub Codespaces by committing configuration files to your repository (also known as configuration-as-code), which creates a repeatable codespace configuration for all users of your project. Each codespace you create is hosted by GitHub in a Docker container that runs on a virtual machine. You can choose the type of virtual machine you want to use depending on the resources you need.
5353

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ _@workspace Please provide me with the SQL code to create a table that included
2020

2121
![A screenshot a GitHub Copilot prompt related to the creation of a table in SQL.](../media/create-table.svg)
2222

23-
## Understanding an application that includes SQL
23+
## Understand an application that includes SQL
2424

2525
For example, if you opened a codespace were presented with an application that included SQL code, you could query GitHub Copilot with the following prompt to understand more about the project in the following manner:
2626

@@ -70,7 +70,7 @@ You can request that GitHub Copilot to generate SQL-based tests or assertions to
7070

7171
GitHub Copilot can help you write tests for your application code by generating test code that covers your codebase. This includes unit tests, end-to-end tests, and tests for edge cases.
7272

73-
## Debugging SQL errors
73+
## Debug SQL errors
7474

7575
You can ask GitHub Copilot to help debug SQL errors or suggest fixes for common issues. For example, you can select a file or block of code and ask GitHub Copilot to locate and correct any syntax errors.
7676

@@ -80,9 +80,9 @@ By having GitHub Copilot provide you with full table schema and indexes, you can
8080

8181
You can use GitHub Copilot to generate prompts to create code that performs better than existing code. When interacting with GitHub Copilot, provide as much detail in the question as possible to increase the chance that the answer provided meets your requirements. To accomplish this:
8282

83-
1. Have an understanding of the code. This understanding can be derived from existing interaction with GitHub Copilot.
84-
1. Select the original code and open GitHub Copilot Chat.
85-
1. Provide as much detail as possible. For example, you might provide GitHub Copilot chat with the following prompt:
83+
- Have an understanding of the code. This understanding can be derived from existing interaction with GitHub Copilot.
84+
- Select the original code and open GitHub Copilot Chat.
85+
- Provide as much detail as possible. For example, you might provide GitHub Copilot chat with the following prompt:
8686

8787
_Given the following requirements:_
8888
_The database is SQLite and contains tables relevant to movie ratings (see the structure in complex.sql)._

learn-pr/advocates/challenge-github-copilot-sql/includes/3-github-skills-exercise.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ In this exercise, you take the role of a developer who has been asked to examine
33
By the end of this workshop, you will:
44

55
- Use advanced GitHub Copilot interaction techniques to deal with complex problems regarding SQL queries.
6-
- Iterate, validate, and refine answers to get better and more accurate suggestions
6+
- Iterate, validate, and refine answers to get better and more accurate suggestions.
77
- Apply generic concepts that can improve suggestions and select from different strategies that can yield better results.
88
- Get a clear understanding of poor prompting techniques, and how these can drastically affect the output from GitHub Copilot.
99

1010
## Exercise: Challenging GitHub Copilot with SQL
1111

1212
This exercise walks you through the following steps:
1313

14-
1. Start a GitHub Codespace with the web application code
14+
1. Start a GitHub Codespace with the web application code.
1515
1. Explore the project using GitHub Copilot.
1616
1. Determine what performance problems exist using GitHub Copilot.
1717
1. Examine and optimize SQL code.
Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
In this module you learned about using GitHub Copilot in a GitHub Codespaces environment to work with SQL code and an application that utilizes that code. You learned techniques for interacting with the application within the codespace, including how to query GitHub Copilot to optimize the code to improve performance.
22

3-
## Learn More
3+
## Learn more
44

5-
Code with GitHub Codespaces [https://learn.microsoft.com/en-us/training/modules/code-with-github-codespaces/](/training/modules/code-with-github-codespaces/)
6-
7-
Implement code improvements using GitHub Copilot tools [https://learn.microsoft.com/en-us/training/modules/implement-code-improvements-using-github-copilot-tools/](/training/modules/implement-code-improvements-using-github-copilot-tools/)
8-
9-
Challenging SQL with GitHub Copilot <https://github.com/microsoft/Mastering-GitHub-Copilot-for-Paired-Programming/tree/main/Challenging-GitHub-Copilot-with-SQL>
5+
- [Code with GitHub Codespaces](/training/modules/code-with-github-codespaces/)
6+
- [Implement code improvements using GitHub Copilot tools](/training/modules/implement-code-improvements-using-github-copilot-tools/)
7+
- Challenging SQL with GitHub Copilot <https://github.com/microsoft/Mastering-GitHub-Copilot-for-Paired-Programming/tree/main/Challenging-GitHub-Copilot-with-SQL>

learn-pr/advocates/challenge-github-copilot-sql/index.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ roles:
2929
products:
3030
- github
3131
units:
32-
- learn.challenge-github-copilot-with-sq.introduction-github-copilot-codespaces
33-
- learn.challenge-github-copilot-with-sql.working-with-sql-using-github-copilot
32+
- learn.challenge-github-copilot-with-sql.introduction-github-copilot-codespaces
33+
- learn.challenge-github-copilot-with-sql.work-with-sql-using-github-copilot
3434
- learn.challenge-github-copilot-with-sql.github-skills-exercise
35-
- learn.challenge-github-copilot-with-sq.knowledge-check
35+
- learn.challenge-github-copilot-with-sql.knowledge-check
3636
- learn.challenge-github-copilot-with-sql.summary
3737
badge:
3838
uid: learn.challenge-github-copilot-with-sql-badge

0 commit comments

Comments
 (0)