Closed oscarzamora closed 5 years ago
@oscarzamora Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@oscarzamora can you please provide a little more info about the query you are referring to, and how you would like it to change?
I believe the request from @oscarzamora is to change this query below, into something like the second query below, such that the 'where' clause and other clauses are also using the aliases of 'gu' and 'ge' for technical clarity:
--- Current Query in Doc ---
SELECT login, count() FROM github_events ge JOIN github_users gu ON ge.user_id = gu.user_id WHERE event_type = 'CreateEvent' AND payload @> '{"ref_type": "repository"}' GROUP BY login ORDER BY count() DESC;
--- Updated Query ---
SELECT gu.login, count() FROM github_events ge JOIN github_users gu ON ge.user_id = gu.user_id WHERE ge.event_type = 'CreateEvent' AND ge.payload @> '{"ref_type": "repository"}' GROUP BY gu.login ORDER BY count() DESC;
If you could please add the alias for the last containment query "ge", "gu".
Thanks
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.