{"action":"created","comment":{"url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/comments/185448292","pull_request_review_id":116831454,"id":185448292,"diff_hunk":"@@ -0,0 +1,15 @@\n+USE AdventureWorks2017\n+GO\n+\n+SELECT \n+    Employee.BusinessEntityID,\n+    Employee.JobTitle,\n+    COUNT(EmployeePayHistory.Rate) AS RateCount\n+FROM \n+    HumanResources.Employee \n+    JOIN HumanResources.EmployeePayHistory ON Employee.BusinessEntityID = EmployeePayHistory.BusinessEntityID\n+GROUP BY\n+    Employee.BusinessEntityID, Employee.JobTitle\n+HAVING","path":"lab-t_sql/Task 3/Lab-3.3.sql","position":13,"original_position":13,"commit_id":"53f5bdaf2a11cb5657997055294dd2d6a7ce6136","original_commit_id":"53f5bdaf2a11cb5657997055294dd2d6a7ce6136","user":{"login":"AlexKonon","id":11663706,"avatar_url":"https://avatars3.githubusercontent.com/u/11663706?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexKonon","html_url":"https://github.com/AlexKonon","followers_url":"https://api.github.com/users/AlexKonon/followers","following_url":"https://api.github.com/users/AlexKonon/following{/other_user}","gists_url":"https://api.github.com/users/AlexKonon/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexKonon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexKonon/subscriptions","organizations_url":"https://api.github.com/users/AlexKonon/orgs","repos_url":"https://api.github.com/users/AlexKonon/repos","events_url":"https://api.github.com/users/AlexKonon/events{/privacy}","received_events_url":"https://api.github.com/users/AlexKonon/received_events","type":"User","site_admin":false},"body":"Hi @xDAndrew.\r\nAs far as I can see from task description you've missed filtration part:\r\nНе учитывать сотрудников, которые больше не работают в отделе.\r\nPlease fix.","created_at":"2018-05-02T10:03:46Z","updated_at":"2018-05-02T10:46:26Z","html_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou/pull/7#discussion_r185448292","pull_request_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/7","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/comments/185448292"},"html":{"href":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou/pull/7#discussion_r185448292"},"pull_request":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/7","id":184617468,"html_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou/pull/7","diff_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou/pull/7.diff","patch_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou/pull/7.patch","issue_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues/7","number":7,"state":"open","locked":false,"title":"Lab 03 is done","user":{"login":"xDAndrew","id":18407124,"avatar_url":"https://avatars2.githubusercontent.com/u/18407124?v=4","gravatar_id":"","url":"https://api.github.com/users/xDAndrew","html_url":"https://github.com/xDAndrew","followers_url":"https://api.github.com/users/xDAndrew/followers","following_url":"https://api.github.com/users/xDAndrew/following{/other_user}","gists_url":"https://api.github.com/users/xDAndrew/gists{/gist_id}","starred_url":"https://api.github.com/users/xDAndrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xDAndrew/subscriptions","organizations_url":"https://api.github.com/users/xDAndrew/orgs","repos_url":"https://api.github.com/users/xDAndrew/repos","events_url":"https://api.github.com/users/xDAndrew/events{/privacy}","received_events_url":"https://api.github.com/users/xDAndrew/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-27T13:09:22Z","updated_at":"2018-05-02T10:46:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e26846f1fd36d1234f37dc5e28d8cf730a0c2c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues/7/comments","statuses_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/statuses/53f5bdaf2a11cb5657997055294dd2d6a7ce6136","head":{"label":"Godel-Mastery-v3:Lab-03","ref":"Lab-03","sha":"53f5bdaf2a11cb5657997055294dd2d6a7ce6136","user":{"login":"Godel-Mastery-v3","id":37075055,"avatar_url":"https://avatars1.githubusercontent.com/u/37075055?v=4","gravatar_id":"","url":"https://api.github.com/users/Godel-Mastery-v3","html_url":"https://github.com/Godel-Mastery-v3","followers_url":"https://api.github.com/users/Godel-Mastery-v3/followers","following_url":"https://api.github.com/users/Godel-Mastery-v3/following{/other_user}","gists_url":"https://api.github.com/users/Godel-Mastery-v3/gists{/gist_id}","starred_url":"https://api.github.com/users/Godel-Mastery-v3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godel-Mastery-v3/subscriptions","organizations_url":"https://api.github.com/users/Godel-Mastery-v3/orgs","repos_url":"https://api.github.com/users/Godel-Mastery-v3/repos","events_url":"https://api.github.com/users/Godel-Mastery-v3/events{/privacy}","received_events_url":"https://api.github.com/users/Godel-Mastery-v3/received_events","type":"Organization","site_admin":false},"repo":{"id":128057607,"name":"Andrei-Ivanou","full_name":"Godel-Mastery-v3/Andrei-Ivanou","owner":{"login":"Godel-Mastery-v3","id":37075055,"avatar_url":"https://avatars1.githubusercontent.com/u/37075055?v=4","gravatar_id":"","url":"https://api.github.com/users/Godel-Mastery-v3","html_url":"https://github.com/Godel-Mastery-v3","followers_url":"https://api.github.com/users/Godel-Mastery-v3/followers","following_url":"https://api.github.com/users/Godel-Mastery-v3/following{/other_user}","gists_url":"https://api.github.com/users/Godel-Mastery-v3/gists{/gist_id}","starred_url":"https://api.github.com/users/Godel-Mastery-v3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godel-Mastery-v3/subscriptions","organizations_url":"https://api.github.com/users/Godel-Mastery-v3/orgs","repos_url":"https://api.github.com/users/Godel-Mastery-v3/repos","events_url":"https://api.github.com/users/Godel-Mastery-v3/events{/privacy}","received_events_url":"https://api.github.com/users/Godel-Mastery-v3/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou","description":"Andrei Ivanou","fork":false,"url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou","forks_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/forks","keys_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/teams","hooks_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/hooks","issue_events_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues/events{/number}","events_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/events","assignees_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/assignees{/user}","branches_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/branches{/branch}","tags_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/tags","blobs_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/refs{/sha}","trees_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/statuses/{sha}","languages_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/languages","stargazers_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/stargazers","contributors_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/contributors","subscribers_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/subscribers","subscription_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/subscription","commits_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/commits{/sha}","git_commits_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/commits{/sha}","comments_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/comments{/number}","issue_comment_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues/comments{/number}","contents_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/contents/{+path}","compare_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/merges","archive_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/downloads","issues_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues{/number}","pulls_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls{/number}","milestones_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/milestones{/number}","notifications_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/labels{/name}","releases_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/releases{/id}","deployments_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/deployments","created_at":"2018-04-04T12:16:26Z","updated_at":"2018-04-28T10:00:35Z","pushed_at":"2018-05-02T09:24:23Z","git_url":"git://github.com/Godel-Mastery-v3/Andrei-Ivanou.git","ssh_url":"git@github.com:Godel-Mastery-v3/Andrei-Ivanou.git","clone_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou.git","svn_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou","homepage":null,"size":572,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Godel-Mastery-v3:master","ref":"master","sha":"44f600f8d062915d1fbb33dda597d41635428f34","user":{"login":"Godel-Mastery-v3","id":37075055,"avatar_url":"https://avatars1.githubusercontent.com/u/37075055?v=4","gravatar_id":"","url":"https://api.github.com/users/Godel-Mastery-v3","html_url":"https://github.com/Godel-Mastery-v3","followers_url":"https://api.github.com/users/Godel-Mastery-v3/followers","following_url":"https://api.github.com/users/Godel-Mastery-v3/following{/other_user}","gists_url":"https://api.github.com/users/Godel-Mastery-v3/gists{/gist_id}","starred_url":"https://api.github.com/users/Godel-Mastery-v3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godel-Mastery-v3/subscriptions","organizations_url":"https://api.github.com/users/Godel-Mastery-v3/orgs","repos_url":"https://api.github.com/users/Godel-Mastery-v3/repos","events_url":"https://api.github.com/users/Godel-Mastery-v3/events{/privacy}","received_events_url":"https://api.github.com/users/Godel-Mastery-v3/received_events","type":"Organization","site_admin":false},"repo":{"id":128057607,"name":"Andrei-Ivanou","full_name":"Godel-Mastery-v3/Andrei-Ivanou","owner":{"login":"Godel-Mastery-v3","id":37075055,"avatar_url":"https://avatars1.githubusercontent.com/u/37075055?v=4","gravatar_id":"","url":"https://api.github.com/users/Godel-Mastery-v3","html_url":"https://github.com/Godel-Mastery-v3","followers_url":"https://api.github.com/users/Godel-Mastery-v3/followers","following_url":"https://api.github.com/users/Godel-Mastery-v3/following{/other_user}","gists_url":"https://api.github.com/users/Godel-Mastery-v3/gists{/gist_id}","starred_url":"https://api.github.com/users/Godel-Mastery-v3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godel-Mastery-v3/subscriptions","organizations_url":"https://api.github.com/users/Godel-Mastery-v3/orgs","repos_url":"https://api.github.com/users/Godel-Mastery-v3/repos","events_url":"https://api.github.com/users/Godel-Mastery-v3/events{/privacy}","received_events_url":"https://api.github.com/users/Godel-Mastery-v3/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou","description":"Andrei Ivanou","fork":false,"url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou","forks_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/forks","keys_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/teams","hooks_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/hooks","issue_events_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues/events{/number}","events_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/events","assignees_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/assignees{/user}","branches_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/branches{/branch}","tags_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/tags","blobs_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/refs{/sha}","trees_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/statuses/{sha}","languages_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/languages","stargazers_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/stargazers","contributors_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/contributors","subscribers_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/subscribers","subscription_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/subscription","commits_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/commits{/sha}","git_commits_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/git/commits{/sha}","comments_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/comments{/number}","issue_comment_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues/comments{/number}","contents_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/contents/{+path}","compare_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/merges","archive_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/downloads","issues_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues{/number}","pulls_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls{/number}","milestones_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/milestones{/number}","notifications_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/labels{/name}","releases_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/releases{/id}","deployments_url":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/deployments","created_at":"2018-04-04T12:16:26Z","updated_at":"2018-04-28T10:00:35Z","pushed_at":"2018-05-02T09:24:23Z","git_url":"git://github.com/Godel-Mastery-v3/Andrei-Ivanou.git","ssh_url":"git@github.com:Godel-Mastery-v3/Andrei-Ivanou.git","clone_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou.git","svn_url":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou","homepage":null,"size":572,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/7"},"html":{"href":"https://github.com/Godel-Mastery-v3/Andrei-Ivanou/pull/7"},"issue":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues/7"},"comments":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Godel-Mastery-v3/Andrei-Ivanou/statuses/53f5bdaf2a11cb5657997055294dd2d6a7ce6136"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AlexKonon"}}