{"action":"opened","issue":{"url":"https://api.github.com/repos/ChristHel/intro-data-capstone-musclehub/issues/1","repository_url":"https://api.github.com/repos/ChristHel/intro-data-capstone-musclehub","labels_url":"https://api.github.com/repos/ChristHel/intro-data-capstone-musclehub/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ChristHel/intro-data-capstone-musclehub/issues/1/comments","events_url":"https://api.github.com/repos/ChristHel/intro-data-capstone-musclehub/issues/1/events","html_url":"https://github.com/ChristHel/intro-data-capstone-musclehub/issues/1","id":303353992,"number":1,"title":"Using table alias","user":{"login":"cyouh95","id":25449416,"avatar_url":"https://avatars2.githubusercontent.com/u/25449416?v=4","gravatar_id":"","url":"https://api.github.com/users/cyouh95","html_url":"https://github.com/cyouh95","followers_url":"https://api.github.com/users/cyouh95/followers","following_url":"https://api.github.com/users/cyouh95/following{/other_user}","gists_url":"https://api.github.com/users/cyouh95/gists{/gist_id}","starred_url":"https://api.github.com/users/cyouh95/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cyouh95/subscriptions","organizations_url":"https://api.github.com/users/cyouh95/orgs","repos_url":"https://api.github.com/users/cyouh95/repos","events_url":"https://api.github.com/users/cyouh95/events{/privacy}","received_events_url":"https://api.github.com/users/cyouh95/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T04:38:29Z","updated_at":"2018-03-08T04:38:29Z","closed_at":null,"author_association":"NONE","body":"You could use aliases for table names to avoid having to write out the full name each time:\r\n\r\n```python\r\ndf = sql_query('''\r\nSELECT v.first_name,\r\n       f.fitness_test_date,\r\n...\r\nFROM visits v\r\nLEFT JOIN fitness_tests f\r\nON v.first_name = f.first_name and\r\n   v.last_name  = f.last_name and\r\n        v.email = f.email\r\n...  \r\n   where v.visit_date >= '7-1-17'\r\n''')\r\n```\r\n\r\nhttps://github.com/ChristHel/intro-data-capstone-musclehub/blob/master/musclehub_project_christian_helfers/codecademy_musclehub_project_christian_helfers.py#L120-L143"}}
{"actor":{"display_login":"cyouh95"}}