{"action":"closed","issue":{"url":"https://api.github.com/repos/DoSomething/longshot/issues/730","labels_url":"https://api.github.com/repos/DoSomething/longshot/issues/730/labels{/name}","comments_url":"https://api.github.com/repos/DoSomething/longshot/issues/730/comments","events_url":"https://api.github.com/repos/DoSomething/longshot/issues/730/events","html_url":"https://github.com/DoSomething/longshot/issues/730","id":125277101,"number":730,"title":"create export for yes people","user":{"login":"angaither","id":645205,"avatar_url":"https://avatars.githubusercontent.com/u/645205?v=3","gravatar_id":"","url":"https://api.github.com/users/angaither","html_url":"https://github.com/angaither","followers_url":"https://api.github.com/users/angaither/followers","following_url":"https://api.github.com/users/angaither/following{/other_user}","gists_url":"https://api.github.com/users/angaither/gists{/gist_id}","starred_url":"https://api.github.com/users/angaither/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angaither/subscriptions","organizations_url":"https://api.github.com/users/angaither/orgs","repos_url":"https://api.github.com/users/angaither/repos","events_url":"https://api.github.com/users/angaither/events{/privacy}","received_events_url":"https://api.github.com/users/angaither/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"katiecrane","id":4240292,"avatar_url":"https://avatars.githubusercontent.com/u/4240292?v=3","gravatar_id":"","url":"https://api.github.com/users/katiecrane","html_url":"https://github.com/katiecrane","followers_url":"https://api.github.com/users/katiecrane/followers","following_url":"https://api.github.com/users/katiecrane/following{/other_user}","gists_url":"https://api.github.com/users/katiecrane/gists{/gist_id}","starred_url":"https://api.github.com/users/katiecrane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katiecrane/subscriptions","organizations_url":"https://api.github.com/users/katiecrane/orgs","repos_url":"https://api.github.com/users/katiecrane/repos","events_url":"https://api.github.com/users/katiecrane/events{/privacy}","received_events_url":"https://api.github.com/users/katiecrane/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-01-06T22:23:29Z","updated_at":"2016-01-08T20:17:07Z","closed_at":"2016-01-08T20:17:07Z","body":"```\r\nselect distinct concat(u.first_name, ' ', u.last_name) as name, p.gender, p.state, p.zip, group_concat(r.race) as race, a.activities, concat('footlockerscholarathletes.com/admin/applications/', u.id) as link\r\nfrom users u\r\ninner join profiles p on p.user_id = u.id\r\ninner join races r on r.profile_id = p.id\r\ninner join applications a on a.user_id = u.id\r\ninner join ratings s on s.application_id = a.id\r\nwhere s.rating = 'yes'\r\ngroup by name\r\norder by name\r\n```"}}