{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/comments/45130891","id":45130891,"diff_hunk":"@@ -1 +1,20 @@\n -- retrieve appointment information\n+SELECT p.given_name, p.surname, a.appt_time\n+FROM patients p\n+INNER JOIN doctors d\n+  ON p.patient_id = d.id\n+INNER JOIN appointments a\n+  ON d.doctor_id = a.id\n+WHERE doctor_id = 6\n+;\n+\n+SELECT d.given_name, d.surname, a.appt_time\n+FROM patients p\n+INNER JOIN doctors d\n+  ON patient_id = d.id\n+INNER JOIN appointments a\n+  ON doctor_id = a.id\n+WHERE p.surname = 'Wilcox'\n+;","path":"scripts/select_appointments.sql","position":18,"original_position":18,"commit_id":"d7c91930b6b0c5d8b447a1d3a68a26f1c8404e8a","original_commit_id":"d7c91930b6b0c5d8b447a1d3a68a26f1c8404e8a","user":{"login":"MattB-GA-Boston","id":3653013,"avatar_url":"https://avatars.githubusercontent.com/u/3653013?v=3","gravatar_id":"","url":"https://api.github.com/users/MattB-GA-Boston","html_url":"https://github.com/MattB-GA-Boston","followers_url":"https://api.github.com/users/MattB-GA-Boston/followers","following_url":"https://api.github.com/users/MattB-GA-Boston/following{/other_user}","gists_url":"https://api.github.com/users/MattB-GA-Boston/gists{/gist_id}","starred_url":"https://api.github.com/users/MattB-GA-Boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattB-GA-Boston/subscriptions","organizations_url":"https://api.github.com/users/MattB-GA-Boston/orgs","repos_url":"https://api.github.com/users/MattB-GA-Boston/repos","events_url":"https://api.github.com/users/MattB-GA-Boston/events{/privacy}","received_events_url":"https://api.github.com/users/MattB-GA-Boston/received_events","type":"User","site_admin":false},"body":"Similar issues to the first one.","created_at":"2015-11-17T22:19:29Z","updated_at":"2015-11-17T22:19:29Z","html_url":"https://github.com/ga-wdi-boston/sql-join-tables-assessment/pull/38#discussion_r45130891","pull_request_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/comments/45130891"},"html":{"href":"https://github.com/ga-wdi-boston/sql-join-tables-assessment/pull/38#discussion_r45130891"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/38","id":49695669,"html_url":"https://github.com/ga-wdi-boston/sql-join-tables-assessment/pull/38","diff_url":"https://github.com/ga-wdi-boston/sql-join-tables-assessment/pull/38.diff","patch_url":"https://github.com/ga-wdi-boston/sql-join-tables-assessment/pull/38.patch","issue_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/issues/38","number":38,"state":"open","locked":false,"title":"\"All four edited files for assessment included\"","user":{"login":"jcmeyer10","id":12531471,"avatar_url":"https://avatars.githubusercontent.com/u/12531471?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmeyer10","html_url":"https://github.com/jcmeyer10","followers_url":"https://api.github.com/users/jcmeyer10/followers","following_url":"https://api.github.com/users/jcmeyer10/following{/other_user}","gists_url":"https://api.github.com/users/jcmeyer10/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmeyer10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmeyer10/subscriptions","organizations_url":"https://api.github.com/users/jcmeyer10/orgs","repos_url":"https://api.github.com/users/jcmeyer10/repos","events_url":"https://api.github.com/users/jcmeyer10/events{/privacy}","received_events_url":"https://api.github.com/users/jcmeyer10/received_events","type":"User","site_admin":false},"body":"Had a little trouble with JOIN TABLES, wrote out what I was thinking so you had an idea of where I was going wrong.","created_at":"2015-11-04T14:39:01Z","updated_at":"2015-11-17T22:19:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8bb779da4b192aeb79056958e42c96fe17396f9c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/38/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/38/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/issues/38/comments","statuses_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/statuses/d7c91930b6b0c5d8b447a1d3a68a26f1c8404e8a","head":{"label":"jcmeyer10:response","ref":"response","sha":"d7c91930b6b0c5d8b447a1d3a68a26f1c8404e8a","user":{"login":"jcmeyer10","id":12531471,"avatar_url":"https://avatars.githubusercontent.com/u/12531471?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmeyer10","html_url":"https://github.com/jcmeyer10","followers_url":"https://api.github.com/users/jcmeyer10/followers","following_url":"https://api.github.com/users/jcmeyer10/following{/other_user}","gists_url":"https://api.github.com/users/jcmeyer10/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmeyer10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmeyer10/subscriptions","organizations_url":"https://api.github.com/users/jcmeyer10/orgs","repos_url":"https://api.github.com/users/jcmeyer10/repos","events_url":"https://api.github.com/users/jcmeyer10/events{/privacy}","received_events_url":"https://api.github.com/users/jcmeyer10/received_events","type":"User","site_admin":false},"repo":{"id":45542809,"name":"sql-join-tables-assessment","full_name":"jcmeyer10/sql-join-tables-assessment","owner":{"login":"jcmeyer10","id":12531471,"avatar_url":"https://avatars.githubusercontent.com/u/12531471?v=3","gravatar_id":"","url":"https://api.github.com/users/jcmeyer10","html_url":"https://github.com/jcmeyer10","followers_url":"https://api.github.com/users/jcmeyer10/followers","following_url":"https://api.github.com/users/jcmeyer10/following{/other_user}","gists_url":"https://api.github.com/users/jcmeyer10/gists{/gist_id}","starred_url":"https://api.github.com/users/jcmeyer10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcmeyer10/subscriptions","organizations_url":"https://api.github.com/users/jcmeyer10/orgs","repos_url":"https://api.github.com/users/jcmeyer10/repos","events_url":"https://api.github.com/users/jcmeyer10/events{/privacy}","received_events_url":"https://api.github.com/users/jcmeyer10/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcmeyer10/sql-join-tables-assessment","description":"An assessent for: An introduction to many-to-many relationships in PostgreSQL","fork":true,"url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment","forks_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/forks","keys_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/teams","hooks_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/hooks","issue_events_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/events","assignees_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/tags","blobs_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/languages","stargazers_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/stargazers","contributors_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/contributors","subscribers_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/subscribers","subscription_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/subscription","commits_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/merges","archive_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/downloads","issues_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/labels{/name}","releases_url":"https://api.github.com/repos/jcmeyer10/sql-join-tables-assessment/releases{/id}","created_at":"2015-11-04T14:06:27Z","updated_at":"2015-11-02T19:28:28Z","pushed_at":"2015-11-04T14:38:13Z","git_url":"git://github.com/jcmeyer10/sql-join-tables-assessment.git","ssh_url":"git@github.com:jcmeyer10/sql-join-tables-assessment.git","clone_url":"https://github.com/jcmeyer10/sql-join-tables-assessment.git","svn_url":"https://github.com/jcmeyer10/sql-join-tables-assessment","homepage":null,"size":83,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga-wdi-boston:master","ref":"master","sha":"1c5923c365689833e054a9794b4011117b07e604","user":{"login":"ga-wdi-boston","id":6361298,"avatar_url":"https://avatars.githubusercontent.com/u/6361298?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-boston","html_url":"https://github.com/ga-wdi-boston","followers_url":"https://api.github.com/users/ga-wdi-boston/followers","following_url":"https://api.github.com/users/ga-wdi-boston/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-boston/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-boston/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-boston/orgs","repos_url":"https://api.github.com/users/ga-wdi-boston/repos","events_url":"https://api.github.com/users/ga-wdi-boston/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-boston/received_events","type":"Organization","site_admin":false},"repo":{"id":39835743,"name":"sql-join-tables-assessment","full_name":"ga-wdi-boston/sql-join-tables-assessment","owner":{"login":"ga-wdi-boston","id":6361298,"avatar_url":"https://avatars.githubusercontent.com/u/6361298?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-wdi-boston","html_url":"https://github.com/ga-wdi-boston","followers_url":"https://api.github.com/users/ga-wdi-boston/followers","following_url":"https://api.github.com/users/ga-wdi-boston/following{/other_user}","gists_url":"https://api.github.com/users/ga-wdi-boston/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-wdi-boston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-wdi-boston/subscriptions","organizations_url":"https://api.github.com/users/ga-wdi-boston/orgs","repos_url":"https://api.github.com/users/ga-wdi-boston/repos","events_url":"https://api.github.com/users/ga-wdi-boston/events{/privacy}","received_events_url":"https://api.github.com/users/ga-wdi-boston/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-wdi-boston/sql-join-tables-assessment","description":"An assessent for: An introduction to many-to-many relationships in PostgreSQL","fork":false,"url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment","forks_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/forks","keys_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/teams","hooks_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/events","assignees_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/tags","blobs_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/subscription","commits_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/merges","archive_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/downloads","issues_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/releases{/id}","created_at":"2015-07-28T13:33:44Z","updated_at":"2015-11-02T19:28:28Z","pushed_at":"2015-11-04T18:17:04Z","git_url":"git://github.com/ga-wdi-boston/sql-join-tables-assessment.git","ssh_url":"git@github.com:ga-wdi-boston/sql-join-tables-assessment.git","clone_url":"https://github.com/ga-wdi-boston/sql-join-tables-assessment.git","svn_url":"https://github.com/ga-wdi-boston/sql-join-tables-assessment","homepage":null,"size":1099,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":10,"forks":42,"open_issues":10,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/38"},"html":{"href":"https://github.com/ga-wdi-boston/sql-join-tables-assessment/pull/38"},"issue":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/issues/38"},"comments":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-join-tables-assessment/statuses/d7c91930b6b0c5d8b447a1d3a68a26f1c8404e8a"}}}}