{"action":"created","comment":{"url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/comments/187354151","pull_request_review_id":119117174,"id":187354151,"diff_hunk":"@@ -0,0 +1,4 @@\n+--25. �������� ������, ������� ������� �� ������ ���������� � ���������� �������. ����� ���� ������ (rating) ������ �������������� ������ ��������� � ��� �������.\n+select cnum, cname, rating \n+from customers \n+order by cnum DESC;","path":"part1/25.sql","position":null,"original_position":4,"commit_id":"a69b8d69a3d7ce2570ac63eb51428ce143d1bc21","original_commit_id":"a69b8d69a3d7ce2570ac63eb51428ce143d1bc21","user":{"login":"kuhcaktyerdna","id":32371476,"avatar_url":"https://avatars2.githubusercontent.com/u/32371476?v=4","gravatar_id":"","url":"https://api.github.com/users/kuhcaktyerdna","html_url":"https://github.com/kuhcaktyerdna","followers_url":"https://api.github.com/users/kuhcaktyerdna/followers","following_url":"https://api.github.com/users/kuhcaktyerdna/following{/other_user}","gists_url":"https://api.github.com/users/kuhcaktyerdna/gists{/gist_id}","starred_url":"https://api.github.com/users/kuhcaktyerdna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuhcaktyerdna/subscriptions","organizations_url":"https://api.github.com/users/kuhcaktyerdna/orgs","repos_url":"https://api.github.com/users/kuhcaktyerdna/repos","events_url":"https://api.github.com/users/kuhcaktyerdna/events{/privacy}","received_events_url":"https://api.github.com/users/kuhcaktyerdna/received_events","type":"User","site_admin":false},"body":"Cnum является номером, уникальным для каждого заказчика. Сортировка идет именно по нему с целью предотвращения возможных проблем в случае совпадения имен заказчиков","created_at":"2018-05-10T14:51:33Z","updated_at":"2018-05-10T14:51:33Z","html_url":"https://github.com/kuhcaktyerdna/sqlTasks/pull/1#discussion_r187354151","pull_request_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/comments/187354151"},"html":{"href":"https://github.com/kuhcaktyerdna/sqlTasks/pull/1#discussion_r187354151"},"pull_request":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/1"}},"in_reply_to_id":187260848},"pull_request":{"url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/1","id":187010385,"html_url":"https://github.com/kuhcaktyerdna/sqlTasks/pull/1","diff_url":"https://github.com/kuhcaktyerdna/sqlTasks/pull/1.diff","patch_url":"https://github.com/kuhcaktyerdna/sqlTasks/pull/1.patch","issue_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues/1","number":1,"state":"closed","locked":false,"title":"Added first part","user":{"login":"kuhcaktyerdna","id":32371476,"avatar_url":"https://avatars2.githubusercontent.com/u/32371476?v=4","gravatar_id":"","url":"https://api.github.com/users/kuhcaktyerdna","html_url":"https://github.com/kuhcaktyerdna","followers_url":"https://api.github.com/users/kuhcaktyerdna/followers","following_url":"https://api.github.com/users/kuhcaktyerdna/following{/other_user}","gists_url":"https://api.github.com/users/kuhcaktyerdna/gists{/gist_id}","starred_url":"https://api.github.com/users/kuhcaktyerdna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuhcaktyerdna/subscriptions","organizations_url":"https://api.github.com/users/kuhcaktyerdna/orgs","repos_url":"https://api.github.com/users/kuhcaktyerdna/repos","events_url":"https://api.github.com/users/kuhcaktyerdna/events{/privacy}","received_events_url":"https://api.github.com/users/kuhcaktyerdna/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-09T18:59:06Z","updated_at":"2018-05-10T14:51:33Z","closed_at":"2018-05-09T18:59:48Z","merged_at":"2018-05-09T18:59:48Z","merge_commit_sha":"b6501460589d7cdf45a5f02bc261be6b1caad915","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/1/commits","review_comments_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/1/comments","review_comment_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues/1/comments","statuses_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/statuses/a69b8d69a3d7ce2570ac63eb51428ce143d1bc21","head":{"label":"kuhcaktyerdna:develop","ref":"develop","sha":"a69b8d69a3d7ce2570ac63eb51428ce143d1bc21","user":{"login":"kuhcaktyerdna","id":32371476,"avatar_url":"https://avatars2.githubusercontent.com/u/32371476?v=4","gravatar_id":"","url":"https://api.github.com/users/kuhcaktyerdna","html_url":"https://github.com/kuhcaktyerdna","followers_url":"https://api.github.com/users/kuhcaktyerdna/followers","following_url":"https://api.github.com/users/kuhcaktyerdna/following{/other_user}","gists_url":"https://api.github.com/users/kuhcaktyerdna/gists{/gist_id}","starred_url":"https://api.github.com/users/kuhcaktyerdna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuhcaktyerdna/subscriptions","organizations_url":"https://api.github.com/users/kuhcaktyerdna/orgs","repos_url":"https://api.github.com/users/kuhcaktyerdna/repos","events_url":"https://api.github.com/users/kuhcaktyerdna/events{/privacy}","received_events_url":"https://api.github.com/users/kuhcaktyerdna/received_events","type":"User","site_admin":false},"repo":{"id":132481224,"name":"sqlTasks","full_name":"kuhcaktyerdna/sqlTasks","owner":{"login":"kuhcaktyerdna","id":32371476,"avatar_url":"https://avatars2.githubusercontent.com/u/32371476?v=4","gravatar_id":"","url":"https://api.github.com/users/kuhcaktyerdna","html_url":"https://github.com/kuhcaktyerdna","followers_url":"https://api.github.com/users/kuhcaktyerdna/followers","following_url":"https://api.github.com/users/kuhcaktyerdna/following{/other_user}","gists_url":"https://api.github.com/users/kuhcaktyerdna/gists{/gist_id}","starred_url":"https://api.github.com/users/kuhcaktyerdna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuhcaktyerdna/subscriptions","organizations_url":"https://api.github.com/users/kuhcaktyerdna/orgs","repos_url":"https://api.github.com/users/kuhcaktyerdna/repos","events_url":"https://api.github.com/users/kuhcaktyerdna/events{/privacy}","received_events_url":"https://api.github.com/users/kuhcaktyerdna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kuhcaktyerdna/sqlTasks","description":null,"fork":false,"url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks","forks_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/forks","keys_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/teams","hooks_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/hooks","issue_events_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues/events{/number}","events_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/events","assignees_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/assignees{/user}","branches_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/branches{/branch}","tags_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/tags","blobs_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/statuses/{sha}","languages_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/languages","stargazers_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/stargazers","contributors_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/contributors","subscribers_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/subscribers","subscription_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/subscription","commits_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/contents/{+path}","compare_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/merges","archive_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/downloads","issues_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues{/number}","pulls_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls{/number}","milestones_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/milestones{/number}","notifications_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/labels{/name}","releases_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/releases{/id}","deployments_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/deployments","created_at":"2018-05-07T15:32:52Z","updated_at":"2018-05-09T18:48:24Z","pushed_at":"2018-05-10T14:13:21Z","git_url":"git://github.com/kuhcaktyerdna/sqlTasks.git","ssh_url":"git@github.com:kuhcaktyerdna/sqlTasks.git","clone_url":"https://github.com/kuhcaktyerdna/sqlTasks.git","svn_url":"https://github.com/kuhcaktyerdna/sqlTasks","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"PLSQL","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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"kuhcaktyerdna:master","ref":"master","sha":"a6e1955c6b3740958f8dac147b0aeef07450aa2f","user":{"login":"kuhcaktyerdna","id":32371476,"avatar_url":"https://avatars2.githubusercontent.com/u/32371476?v=4","gravatar_id":"","url":"https://api.github.com/users/kuhcaktyerdna","html_url":"https://github.com/kuhcaktyerdna","followers_url":"https://api.github.com/users/kuhcaktyerdna/followers","following_url":"https://api.github.com/users/kuhcaktyerdna/following{/other_user}","gists_url":"https://api.github.com/users/kuhcaktyerdna/gists{/gist_id}","starred_url":"https://api.github.com/users/kuhcaktyerdna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuhcaktyerdna/subscriptions","organizations_url":"https://api.github.com/users/kuhcaktyerdna/orgs","repos_url":"https://api.github.com/users/kuhcaktyerdna/repos","events_url":"https://api.github.com/users/kuhcaktyerdna/events{/privacy}","received_events_url":"https://api.github.com/users/kuhcaktyerdna/received_events","type":"User","site_admin":false},"repo":{"id":132481224,"name":"sqlTasks","full_name":"kuhcaktyerdna/sqlTasks","owner":{"login":"kuhcaktyerdna","id":32371476,"avatar_url":"https://avatars2.githubusercontent.com/u/32371476?v=4","gravatar_id":"","url":"https://api.github.com/users/kuhcaktyerdna","html_url":"https://github.com/kuhcaktyerdna","followers_url":"https://api.github.com/users/kuhcaktyerdna/followers","following_url":"https://api.github.com/users/kuhcaktyerdna/following{/other_user}","gists_url":"https://api.github.com/users/kuhcaktyerdna/gists{/gist_id}","starred_url":"https://api.github.com/users/kuhcaktyerdna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kuhcaktyerdna/subscriptions","organizations_url":"https://api.github.com/users/kuhcaktyerdna/orgs","repos_url":"https://api.github.com/users/kuhcaktyerdna/repos","events_url":"https://api.github.com/users/kuhcaktyerdna/events{/privacy}","received_events_url":"https://api.github.com/users/kuhcaktyerdna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kuhcaktyerdna/sqlTasks","description":null,"fork":false,"url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks","forks_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/forks","keys_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/teams","hooks_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/hooks","issue_events_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues/events{/number}","events_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/events","assignees_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/assignees{/user}","branches_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/branches{/branch}","tags_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/tags","blobs_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/statuses/{sha}","languages_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/languages","stargazers_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/stargazers","contributors_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/contributors","subscribers_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/subscribers","subscription_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/subscription","commits_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/contents/{+path}","compare_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/merges","archive_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/downloads","issues_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues{/number}","pulls_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls{/number}","milestones_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/milestones{/number}","notifications_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/labels{/name}","releases_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/releases{/id}","deployments_url":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/deployments","created_at":"2018-05-07T15:32:52Z","updated_at":"2018-05-09T18:48:24Z","pushed_at":"2018-05-10T14:13:21Z","git_url":"git://github.com/kuhcaktyerdna/sqlTasks.git","ssh_url":"git@github.com:kuhcaktyerdna/sqlTasks.git","clone_url":"https://github.com/kuhcaktyerdna/sqlTasks.git","svn_url":"https://github.com/kuhcaktyerdna/sqlTasks","homepage":null,"size":22,"stargazers_count":0,"watchers_count":0,"language":"PLSQL","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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/1"},"html":{"href":"https://github.com/kuhcaktyerdna/sqlTasks/pull/1"},"issue":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues/1"},"comments":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/kuhcaktyerdna/sqlTasks/statuses/a69b8d69a3d7ce2570ac63eb51428ce143d1bc21"}},"author_association":"OWNER"}}
{"actor":{"display_login":"kuhcaktyerdna"}}