This data as json, CSV (advanced)
id | name | description | location | url | fellowship | followers_count | created_at | verified | screen_name ▼ | |
---|---|---|---|---|---|---|---|---|---|---|
18257896 | Ryan Nakashima | Product manager, digital subscriptions, Bay Area News Group. Dad. Former @AP. @JSKstanford fellow ‘16-17. rnakashima@bayareanewsgroup.com | https://medium.com/@rnakashi | https://twitter.com/rnakashi | jsk-fellows2017 | 2068 | 2008-12-20T01:19:04+00:00 | 0 | rnakashi |
JSON shape: default, array, newline-delimited
CREATE VIEW jsk_fellows AS select users.id, users.name, users.description, users.location, users.url, 'https://twitter.com/' || users.screen_name as twitter, group_concat(lists.slug) as fellowship, users.followers_count, users.created_at, users.verified, users.screen_name from users join list_members on list_members.user = users.id join lists on list_members.list = lists.id where lists.slug like 'jsk-fellows%' and lists.slug not like '%projects' group by users.id;