{"action":"created","issue":{"url":"https://api.github.com/repos/astaxie/beego/issues/1495","labels_url":"https://api.github.com/repos/astaxie/beego/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/astaxie/beego/issues/1495/comments","events_url":"https://api.github.com/repos/astaxie/beego/issues/1495/events","html_url":"https://github.com/astaxie/beego/issues/1495","id":122687590,"number":1495,"title":"Why always add `T0.` in sql which be generated by ORM","user":{"login":"simpleton","id":454498,"avatar_url":"https://avatars.githubusercontent.com/u/454498?v=3","gravatar_id":"","url":"https://api.github.com/users/simpleton","html_url":"https://github.com/simpleton","followers_url":"https://api.github.com/users/simpleton/followers","following_url":"https://api.github.com/users/simpleton/following{/other_user}","gists_url":"https://api.github.com/users/simpleton/gists{/gist_id}","starred_url":"https://api.github.com/users/simpleton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simpleton/subscriptions","organizations_url":"https://api.github.com/users/simpleton/orgs","repos_url":"https://api.github.com/users/simpleton/repos","events_url":"https://api.github.com/users/simpleton/events{/privacy}","received_events_url":"https://api.github.com/users/simpleton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-17T08:38:43Z","updated_at":"2016-01-03T23:00:24Z","closed_at":null,"body":"Why always add T0 before every parameter in sql.\r\n```sql\r\nUPDATE `t_invite_code` T0 SET T0.`f_used_count` = T0.`f_used_count` + ? \r\n```"},"comment":{"url":"https://api.github.com/repos/astaxie/beego/issues/comments/168549847","html_url":"https://github.com/astaxie/beego/issues/1495#issuecomment-168549847","issue_url":"https://api.github.com/repos/astaxie/beego/issues/1495","id":168549847,"user":{"login":"RCooLeR","id":2025529,"avatar_url":"https://avatars.githubusercontent.com/u/2025529?v=3","gravatar_id":"","url":"https://api.github.com/users/RCooLeR","html_url":"https://github.com/RCooLeR","followers_url":"https://api.github.com/users/RCooLeR/followers","following_url":"https://api.github.com/users/RCooLeR/following{/other_user}","gists_url":"https://api.github.com/users/RCooLeR/gists{/gist_id}","starred_url":"https://api.github.com/users/RCooLeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RCooLeR/subscriptions","organizations_url":"https://api.github.com/users/RCooLeR/orgs","repos_url":"https://api.github.com/users/RCooLeR/repos","events_url":"https://api.github.com/users/RCooLeR/events{/privacy}","received_events_url":"https://api.github.com/users/RCooLeR/received_events","type":"User","site_admin":false},"created_at":"2016-01-03T23:00:24Z","updated_at":"2016-01-03T23:00:24Z","body":"For example if u have few tables with same column names (updated_at etc.) \r\nIn query, generated for these tables joined, might be issues.\r\nIt's common practice for all orms to use table aliases."}}