Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
[KNO-409] - Remove ORDER BY when not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
jmountifield authored Jun 24, 2024
1 parent 308c0fe commit 0c7938c
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions jupiterone/questions/questions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ questions:
- query: |
FIND slack_channel AS c
THAT HAS slack_user AS u
RETURN
c.name AS Channel,
COUNT(u) AS UsersCount
ORDER BY UsersCount DESC
RETURN c.name AS Channel, COUNT(u) AS UsersCount
tags:
- slack
- user
Expand All @@ -24,9 +21,7 @@ questions:
- query: |
FIND slack_channel AS c
THAT HAS slack_user WITH email !~= "{{@yourEmailDomain.com}}" AS u
RETURN
c.name AS Channel,
u.email AS User
RETURN c.name AS Channel, u.email AS User
tags:
- slack
- user
Expand Down

0 comments on commit 0c7938c

Please sign in to comment.