Skip to content

Commit 5e10ab4

Browse files
author
Damarcus Jones Sr
authored
Update getting-code-suggestions-in-your-ide-with-github-copilot.md
1 parent 5c9d8bc commit 5e10ab4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

content/copilot/using-github-copilot/getting-code-suggestions-in-your-ide-with-github-copilot.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
1-
---
1+
func calculateDaysBetweenDates(SELECT [UserId], [Red], [Orange], [Yellow], [Green], [Blue], [Purple], [Rainbow]
2+
FROM [Tag].[Scoreboard]
3+
INNER JOINSELECT TokenColor, COUNT(UserID) AS UserCount
4+
FROM Tag.Users
5+
GROUP BY TokenColor
6+
-- pivot that query on tokencolor for Purple, Blue, Green, Yellow, Orange, Red
7+
-- and rename the columns to match the colors
8+
SELECT [Purple], [Blue], [Green], [Yellow], [Orange], [Red]Tag.Users:help copilotfunction calculateDaysBetweenDates(begin, end) {---
29
title: Getting code suggestions in your IDE with GitHub Copilot
310
shortTitle: Get code suggestions
411
intro: 'Use {% data variables.product.prodname_copilot %} to get code suggestions in your editor.'

0 commit comments

Comments
 (0)