{"action":"created","issue":{"url":"https://api.github.com/repos/hendrixjoseph/FamilyTree/issues/4","labels_url":"https://api.github.com/repos/hendrixjoseph/FamilyTree/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/hendrixjoseph/FamilyTree/issues/4/comments","events_url":"https://api.github.com/repos/hendrixjoseph/FamilyTree/issues/4/events","html_url":"https://github.com/hendrixjoseph/FamilyTree/issues/4","id":92770815,"number":4,"title":"Fix CHILDREN_VIEW","user":{"login":"hendrixjoseph","id":12754677,"avatar_url":"https://avatars.githubusercontent.com/u/12754677?v=3","gravatar_id":"","url":"https://api.github.com/users/hendrixjoseph","html_url":"https://github.com/hendrixjoseph","followers_url":"https://api.github.com/users/hendrixjoseph/followers","following_url":"https://api.github.com/users/hendrixjoseph/following{/other_user}","gists_url":"https://api.github.com/users/hendrixjoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/hendrixjoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hendrixjoseph/subscriptions","organizations_url":"https://api.github.com/users/hendrixjoseph/orgs","repos_url":"https://api.github.com/users/hendrixjoseph/repos","events_url":"https://api.github.com/users/hendrixjoseph/events{/privacy}","received_events_url":"https://api.github.com/users/hendrixjoseph/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-03T01:25:40Z","updated_at":"2015-07-03T06:37:58Z","closed_at":null,"body":"I split the PERSON table into several different tables. I updated the PERSON_VIEW when I did this, but I haven't gotten to CHILDREN_VIEW yet."},"comment":{"url":"https://api.github.com/repos/hendrixjoseph/FamilyTree/issues/comments/118251347","html_url":"https://github.com/hendrixjoseph/FamilyTree/issues/4#issuecomment-118251347","issue_url":"https://api.github.com/repos/hendrixjoseph/FamilyTree/issues/4","id":118251347,"user":{"login":"hendrixjoseph","id":12754677,"avatar_url":"https://avatars.githubusercontent.com/u/12754677?v=3","gravatar_id":"","url":"https://api.github.com/users/hendrixjoseph","html_url":"https://github.com/hendrixjoseph","followers_url":"https://api.github.com/users/hendrixjoseph/followers","following_url":"https://api.github.com/users/hendrixjoseph/following{/other_user}","gists_url":"https://api.github.com/users/hendrixjoseph/gists{/gist_id}","starred_url":"https://api.github.com/users/hendrixjoseph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hendrixjoseph/subscriptions","organizations_url":"https://api.github.com/users/hendrixjoseph/orgs","repos_url":"https://api.github.com/users/hendrixjoseph/repos","events_url":"https://api.github.com/users/hendrixjoseph/events{/privacy}","received_events_url":"https://api.github.com/users/hendrixjoseph/received_events","type":"User","site_admin":false},"created_at":"2015-07-03T06:37:57Z","updated_at":"2015-07-03T06:37:57Z","body":"Note: This might not work when there is no known mother or father\r\n\r\n```sql\r\nSELECT \r\n    P.ID,\r\n    P.NAME,\r\n    SPOUSE.ID AS SPOUSE_ID,\r\n    SPOUSE.NAME AS SPOUSE,\r\n    CHILD.ID AS CHILD_ID,\r\n    CHILD.NAME AS CHILD\r\nFROM \r\n    PERSON P,\r\n    PERSON SPOUSE,\r\n    PERSON CHILD,\r\n    FATHER_OF,\r\n    MOTHER_OF\r\nWHERE (   \r\n    P.ID = FATHER_OF.FATHER_ID\r\nAND SPOUSE.ID = MOTHER_OF.MOTHER_ID\r\nAND CHILD.ID = FATHER_OF.CHILD_ID\r\nAND CHILD.ID = MOTHER_OF.CHILD_ID\r\n)\r\nOR\r\n(\r\n    P.ID = MOTHER_OF.MOTHER_ID\r\nAND SPOUSE.ID = FATHER_OF.FATHER_ID\r\nAND CHILD.ID = FATHER_OF.CHILD_ID\r\nAND CHILD.ID = MOTHER_OF.CHILD_ID\r\n)\r\n```"}}