{"action":"opened","issue":{"url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/710","repository_url":"https://api.github.com/repos/Raizlabs/DBFlow","labels_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/710/labels{/name}","comments_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/710/comments","events_url":"https://api.github.com/repos/Raizlabs/DBFlow/issues/710/events","html_url":"https://github.com/Raizlabs/DBFlow/issues/710","id":142289895,"number":710,"title":"WithTable and As are not working together","user":{"login":"gorodechnyj","id":818370,"avatar_url":"https://avatars.githubusercontent.com/u/818370?v=3","gravatar_id":"","url":"https://api.github.com/users/gorodechnyj","html_url":"https://github.com/gorodechnyj","followers_url":"https://api.github.com/users/gorodechnyj/followers","following_url":"https://api.github.com/users/gorodechnyj/following{/other_user}","gists_url":"https://api.github.com/users/gorodechnyj/gists{/gist_id}","starred_url":"https://api.github.com/users/gorodechnyj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gorodechnyj/subscriptions","organizations_url":"https://api.github.com/users/gorodechnyj/orgs","repos_url":"https://api.github.com/users/gorodechnyj/repos","events_url":"https://api.github.com/users/gorodechnyj/events{/privacy}","received_events_url":"https://api.github.com/users/gorodechnyj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-21T09:01:31Z","updated_at":"2016-03-21T09:01:31Z","closed_at":null,"body":"I have a query where I select ids from two joined tables\r\n\r\n    Plan_Table._id.withTable(),\r\n    Contact_Table._id.withTable().as(\"participant_id\")\r\n\r\nIn generated select statement this fields are written this way:\r\n    \r\n    SELECT `Plan`.`_id`, `_id` AS `participant_id`\r\n\r\nSo I get \"ambiguous column _id\" sql exception"}}