{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/comments/43903960","id":43903960,"diff_hunk":"@@ -5,24 +5,48 @@ CREATE DATABASE \"sql-crud-assessment\";\n \n -- Question 1. Create a table called `licensees` to hold data in columns surname,given_name,gender,height,weight,dob,eye_color,hair_color.  See `data/licensees.csv` for example data.  Don't forget that all tables should have an id column as a unique identifier for a row.\n \n+CREATE TABLE licensees(\n+id SERIAL PRIMARY KEY,\n+surname CHARACTER VARYING,\n+given_name CHARACTER VARYING,\n+gender CHARACTER VARYING,\n+height INTEGER,\n+weight INTEGER,\n+dob DATE,\n+eye_color CHARACTER VARYING,\n+hair_color CHARACTER VARYING\n+);\n+\n -- your code here\n \n -- Question 2. Add `Bishop, Caren, f, 63, 132, 1943-09-26, Brown, Black` into the table of licensees.\n+INSERT INTO licensees(surname, given_name, gender, height, weight, dob, eye_color, hair_color)\n+VALUES ('Bishop', 'Caren', 'f', 63, 132, '1943-09-26', 'Brown', 'Black');\n \n -- your code here\n \n -- Question 3. Load the data from `data/licensees.csv` into the `licensees` table.\n \n--- your code here\n+\\copy licensees(surname, given_name, gender, height, weight, dob, eye_color, hair_color) FROM 'data/licensees.csv' WITH (HEADER true, FORMAT csv)","path":"assessment.sql","position":27,"original_position":27,"commit_id":"3f50b283d9ae74dd57ca74c33c5f2b6347c4a89b","original_commit_id":"3f50b283d9ae74dd57ca74c33c5f2b6347c4a89b","user":{"login":"srhoulam","id":7725148,"avatar_url":"https://avatars.githubusercontent.com/u/7725148?v=3","gravatar_id":"","url":"https://api.github.com/users/srhoulam","html_url":"https://github.com/srhoulam","followers_url":"https://api.github.com/users/srhoulam/followers","following_url":"https://api.github.com/users/srhoulam/following{/other_user}","gists_url":"https://api.github.com/users/srhoulam/gists{/gist_id}","starred_url":"https://api.github.com/users/srhoulam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srhoulam/subscriptions","organizations_url":"https://api.github.com/users/srhoulam/orgs","repos_url":"https://api.github.com/users/srhoulam/repos","events_url":"https://api.github.com/users/srhoulam/events{/privacy}","received_events_url":"https://api.github.com/users/srhoulam/received_events","type":"User","site_admin":false},"body":"Yep. 1","created_at":"2015-11-04T16:37:57Z","updated_at":"2015-11-04T16:37:57Z","html_url":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/28#discussion_r43903960","pull_request_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/comments/43903960"},"html":{"href":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/28#discussion_r43903960"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/28","id":49022109,"html_url":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/28","diff_url":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/28.diff","patch_url":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/28.patch","issue_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/28","number":28,"state":"open","locked":false,"title":"DONE","user":{"login":"julie1013","id":14143334,"avatar_url":"https://avatars.githubusercontent.com/u/14143334?v=3","gravatar_id":"","url":"https://api.github.com/users/julie1013","html_url":"https://github.com/julie1013","followers_url":"https://api.github.com/users/julie1013/followers","following_url":"https://api.github.com/users/julie1013/following{/other_user}","gists_url":"https://api.github.com/users/julie1013/gists{/gist_id}","starred_url":"https://api.github.com/users/julie1013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julie1013/subscriptions","organizations_url":"https://api.github.com/users/julie1013/orgs","repos_url":"https://api.github.com/users/julie1013/repos","events_url":"https://api.github.com/users/julie1013/events{/privacy}","received_events_url":"https://api.github.com/users/julie1013/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-28T15:29:28Z","updated_at":"2015-11-04T16:37:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"913e91ef002518f4702159693c5d1dd0223940a4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/28/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/28/comments","review_comment_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/28/comments","statuses_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/statuses/3f50b283d9ae74dd57ca74c33c5f2b6347c4a89b","head":{"label":"julie1013:master","ref":"master","sha":"3f50b283d9ae74dd57ca74c33c5f2b6347c4a89b","user":{"login":"julie1013","id":14143334,"avatar_url":"https://avatars.githubusercontent.com/u/14143334?v=3","gravatar_id":"","url":"https://api.github.com/users/julie1013","html_url":"https://github.com/julie1013","followers_url":"https://api.github.com/users/julie1013/followers","following_url":"https://api.github.com/users/julie1013/following{/other_user}","gists_url":"https://api.github.com/users/julie1013/gists{/gist_id}","starred_url":"https://api.github.com/users/julie1013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julie1013/subscriptions","organizations_url":"https://api.github.com/users/julie1013/orgs","repos_url":"https://api.github.com/users/julie1013/repos","events_url":"https://api.github.com/users/julie1013/events{/privacy}","received_events_url":"https://api.github.com/users/julie1013/received_events","type":"User","site_admin":false},"repo":{"id":45120201,"name":"sql-crud-assessment","full_name":"julie1013/sql-crud-assessment","owner":{"login":"julie1013","id":14143334,"avatar_url":"https://avatars.githubusercontent.com/u/14143334?v=3","gravatar_id":"","url":"https://api.github.com/users/julie1013","html_url":"https://github.com/julie1013","followers_url":"https://api.github.com/users/julie1013/followers","following_url":"https://api.github.com/users/julie1013/following{/other_user}","gists_url":"https://api.github.com/users/julie1013/gists{/gist_id}","starred_url":"https://api.github.com/users/julie1013/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julie1013/subscriptions","organizations_url":"https://api.github.com/users/julie1013/orgs","repos_url":"https://api.github.com/users/julie1013/repos","events_url":"https://api.github.com/users/julie1013/events{/privacy}","received_events_url":"https://api.github.com/users/julie1013/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/julie1013/sql-crud-assessment","description":"Assessment for \"An introduction to relational databases\"","fork":true,"url":"https://api.github.com/repos/julie1013/sql-crud-assessment","forks_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/forks","keys_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/teams","hooks_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/hooks","issue_events_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/events","assignees_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/tags","blobs_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/languages","stargazers_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/stargazers","contributors_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/contributors","subscribers_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/subscribers","subscription_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/subscription","commits_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/merges","archive_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/downloads","issues_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/labels{/name}","releases_url":"https://api.github.com/repos/julie1013/sql-crud-assessment/releases{/id}","created_at":"2015-10-28T15:01:40Z","updated_at":"2015-10-23T18:56:22Z","pushed_at":"2015-10-28T15:29:13Z","git_url":"git://github.com/julie1013/sql-crud-assessment.git","ssh_url":"git@github.com:julie1013/sql-crud-assessment.git","clone_url":"https://github.com/julie1013/sql-crud-assessment.git","svn_url":"https://github.com/julie1013/sql-crud-assessment","homepage":null,"size":89,"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":"cf237902ec5868f99663dc0b02df85a5119168a2","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":39354921,"name":"sql-crud-assessment","full_name":"ga-wdi-boston/sql-crud-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-crud-assessment","description":"Assessment for \"An introduction to relational databases\"","fork":false,"url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment","forks_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/forks","keys_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/teams","hooks_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/hooks","issue_events_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/events","assignees_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/tags","blobs_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/languages","stargazers_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/stargazers","contributors_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/contributors","subscribers_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/subscribers","subscription_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/subscription","commits_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/merges","archive_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/downloads","issues_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/labels{/name}","releases_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/releases{/id}","created_at":"2015-07-20T00:36:18Z","updated_at":"2015-10-23T18:56:22Z","pushed_at":"2015-10-30T13:21:50Z","git_url":"git://github.com/ga-wdi-boston/sql-crud-assessment.git","ssh_url":"git@github.com:ga-wdi-boston/sql-crud-assessment.git","clone_url":"https://github.com/ga-wdi-boston/sql-crud-assessment.git","svn_url":"https://github.com/ga-wdi-boston/sql-crud-assessment","homepage":null,"size":1113,"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":20,"forks":42,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/28"},"html":{"href":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/28"},"issue":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/28"},"comments":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/statuses/3f50b283d9ae74dd57ca74c33c5f2b6347c4a89b"}}}}