{"action":"closed","issue":{"url":"https://api.github.com/repos/propelorm/Propel2/issues/1112","labels_url":"https://api.github.com/repos/propelorm/Propel2/issues/1112/labels{/name}","comments_url":"https://api.github.com/repos/propelorm/Propel2/issues/1112/comments","events_url":"https://api.github.com/repos/propelorm/Propel2/issues/1112/events","html_url":"https://github.com/propelorm/Propel2/issues/1112","id":129064787,"number":1112,"title":"Using column aliases in WHERE clause","user":{"login":"TomNoblesse","id":5371523,"avatar_url":"https://avatars.githubusercontent.com/u/5371523?v=3","gravatar_id":"","url":"https://api.github.com/users/TomNoblesse","html_url":"https://github.com/TomNoblesse","followers_url":"https://api.github.com/users/TomNoblesse/followers","following_url":"https://api.github.com/users/TomNoblesse/following{/other_user}","gists_url":"https://api.github.com/users/TomNoblesse/gists{/gist_id}","starred_url":"https://api.github.com/users/TomNoblesse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomNoblesse/subscriptions","organizations_url":"https://api.github.com/users/TomNoblesse/orgs","repos_url":"https://api.github.com/users/TomNoblesse/repos","events_url":"https://api.github.com/users/TomNoblesse/events{/privacy}","received_events_url":"https://api.github.com/users/TomNoblesse/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-27T08:02:39Z","updated_at":"2016-01-27T10:29:32Z","closed_at":"2016-01-27T10:29:32Z","body":"Hello\r\n\r\nAm I overlooking something or can column aliases not be used in the WHERE clause?\r\n\r\nIs there a way to make this work? (see below)\r\n\r\n**Desired query (example)**\r\n\r\n```\r\nSELECT title, char_length(title) AS title_length FROM book WHERE title_length > 4\r\n```\r\n\r\n**Fiddle**\r\n\r\nhttp://sandbox.propelorm.org/ad8762d"}}