{"action":"created","comment":{"url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/comments/43430784","id":43430784,"diff_hunk":"@@ -5,24 +5,53 @@ 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--- your code here\n-\n+Create table licensees(\n+  id serial primary key,\n+  surname character varying,\n+  given_name character varying,\n+  gender character varying(1),\n+  height integer,\n+  weight, integer,\n+  dob date,\n+  eye_color character varying,\n+  hair_color character varying\n+);\n -- Question 2. Add `Bishop, Caren, f, 63, 132, 1943-09-26, Brown, Black` into the table of licensees.\n \n--- your code here\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 \n -- Question 3. Load the data from `data/licensees.csv` into the `licensees` table.\n \n--- your code here\n+-- **THIS IS PSQL BUT THIS IS HOW WE WERE TAUGHT**\n \n--- Question 4. Write a query to get all attributes of licensees with Hazel eye color and Brown or Black hair color.\n+\\copy licensees(surname,given_name,gender,height,weight,dob, eye_color, hair_color) FROM 'data/licensees.csv' WITH( HEADER true, FORMAT csv)\n+;","path":"assessment.sql","position":31,"original_position":31,"commit_id":"cd9039fef4b40aea09b673d7901d5d3965a48ba2","original_commit_id":"cd9039fef4b40aea09b673d7901d5d3965a48ba2","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-10-29T19:09:14Z","updated_at":"2015-10-29T19:09:14Z","html_url":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/17#discussion_r43430784","pull_request_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/comments/43430784"},"html":{"href":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/17#discussion_r43430784"},"pull_request":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/17","id":49020383,"html_url":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/17","diff_url":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/17.diff","patch_url":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/17.patch","issue_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/17","number":17,"state":"open","locked":false,"title":"Comp-","user":{"login":"dhuddell","id":7210385,"avatar_url":"https://avatars.githubusercontent.com/u/7210385?v=3","gravatar_id":"","url":"https://api.github.com/users/dhuddell","html_url":"https://github.com/dhuddell","followers_url":"https://api.github.com/users/dhuddell/followers","following_url":"https://api.github.com/users/dhuddell/following{/other_user}","gists_url":"https://api.github.com/users/dhuddell/gists{/gist_id}","starred_url":"https://api.github.com/users/dhuddell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhuddell/subscriptions","organizations_url":"https://api.github.com/users/dhuddell/orgs","repos_url":"https://api.github.com/users/dhuddell/repos","events_url":"https://api.github.com/users/dhuddell/events{/privacy}","received_events_url":"https://api.github.com/users/dhuddell/received_events","type":"User","site_admin":false},"body":"L33TED","created_at":"2015-10-28T15:18:20Z","updated_at":"2015-10-29T19:09:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7aca5a6de6e0212fbb9a1b9e4b144784ed33db16","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/17/commits","review_comments_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/17/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/17/comments","statuses_url":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/statuses/cd9039fef4b40aea09b673d7901d5d3965a48ba2","head":{"label":"dhuddell:response","ref":"response","sha":"cd9039fef4b40aea09b673d7901d5d3965a48ba2","user":{"login":"dhuddell","id":7210385,"avatar_url":"https://avatars.githubusercontent.com/u/7210385?v=3","gravatar_id":"","url":"https://api.github.com/users/dhuddell","html_url":"https://github.com/dhuddell","followers_url":"https://api.github.com/users/dhuddell/followers","following_url":"https://api.github.com/users/dhuddell/following{/other_user}","gists_url":"https://api.github.com/users/dhuddell/gists{/gist_id}","starred_url":"https://api.github.com/users/dhuddell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhuddell/subscriptions","organizations_url":"https://api.github.com/users/dhuddell/orgs","repos_url":"https://api.github.com/users/dhuddell/repos","events_url":"https://api.github.com/users/dhuddell/events{/privacy}","received_events_url":"https://api.github.com/users/dhuddell/received_events","type":"User","site_admin":false},"repo":{"id":45120321,"name":"sql-crud-assessment","full_name":"dhuddell/sql-crud-assessment","owner":{"login":"dhuddell","id":7210385,"avatar_url":"https://avatars.githubusercontent.com/u/7210385?v=3","gravatar_id":"","url":"https://api.github.com/users/dhuddell","html_url":"https://github.com/dhuddell","followers_url":"https://api.github.com/users/dhuddell/followers","following_url":"https://api.github.com/users/dhuddell/following{/other_user}","gists_url":"https://api.github.com/users/dhuddell/gists{/gist_id}","starred_url":"https://api.github.com/users/dhuddell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhuddell/subscriptions","organizations_url":"https://api.github.com/users/dhuddell/orgs","repos_url":"https://api.github.com/users/dhuddell/repos","events_url":"https://api.github.com/users/dhuddell/events{/privacy}","received_events_url":"https://api.github.com/users/dhuddell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dhuddell/sql-crud-assessment","description":"Assessment for \"An introduction to relational databases\"","fork":true,"url":"https://api.github.com/repos/dhuddell/sql-crud-assessment","forks_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/forks","keys_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/teams","hooks_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/hooks","issue_events_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/issues/events{/number}","events_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/events","assignees_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/assignees{/user}","branches_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/branches{/branch}","tags_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/tags","blobs_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/git/refs{/sha}","trees_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/statuses/{sha}","languages_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/languages","stargazers_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/stargazers","contributors_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/contributors","subscribers_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/subscribers","subscription_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/subscription","commits_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/commits{/sha}","git_commits_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/git/commits{/sha}","comments_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/comments{/number}","issue_comment_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/issues/comments{/number}","contents_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/contents/{+path}","compare_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/merges","archive_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/downloads","issues_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/issues{/number}","pulls_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/pulls{/number}","milestones_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/milestones{/number}","notifications_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/labels{/name}","releases_url":"https://api.github.com/repos/dhuddell/sql-crud-assessment/releases{/id}","created_at":"2015-10-28T15:03:00Z","updated_at":"2015-10-23T18:56:22Z","pushed_at":"2015-10-28T15:17:47Z","git_url":"git://github.com/dhuddell/sql-crud-assessment.git","ssh_url":"git@github.com:dhuddell/sql-crud-assessment.git","clone_url":"https://github.com/dhuddell/sql-crud-assessment.git","svn_url":"https://github.com/dhuddell/sql-crud-assessment","homepage":null,"size":138,"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-28T15:42:19Z","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":138,"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":29,"forks":42,"open_issues":29,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/17"},"html":{"href":"https://github.com/ga-wdi-boston/sql-crud-assessment/pull/17"},"issue":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/17"},"comments":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/pulls/17/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/17/commits"},"statuses":{"href":"https://api.github.com/repos/ga-wdi-boston/sql-crud-assessment/statuses/cd9039fef4b40aea09b673d7901d5d3965a48ba2"}}}}