{"action":"created","issue":{"url":"https://api.github.com/repos/JSQLParser/JSqlParser/issues/128","labels_url":"https://api.github.com/repos/JSQLParser/JSqlParser/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/JSQLParser/JSqlParser/issues/128/comments","events_url":"https://api.github.com/repos/JSQLParser/JSqlParser/issues/128/events","html_url":"https://github.com/JSQLParser/JSqlParser/issues/128","id":71291692,"number":128,"title":"Using PERCENT as a Table column name causes a ParseException","user":{"login":"npiguet","id":1618122,"avatar_url":"https://avatars.githubusercontent.com/u/1618122?v=3","gravatar_id":"","url":"https://api.github.com/users/npiguet","html_url":"https://github.com/npiguet","followers_url":"https://api.github.com/users/npiguet/followers","following_url":"https://api.github.com/users/npiguet/following{/other_user}","gists_url":"https://api.github.com/users/npiguet/gists{/gist_id}","starred_url":"https://api.github.com/users/npiguet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/npiguet/subscriptions","organizations_url":"https://api.github.com/users/npiguet/orgs","repos_url":"https://api.github.com/users/npiguet/repos","events_url":"https://api.github.com/users/npiguet/events{/privacy}","received_events_url":"https://api.github.com/users/npiguet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"wumpz","id":1569337,"avatar_url":"https://avatars.githubusercontent.com/u/1569337?v=3","gravatar_id":"","url":"https://api.github.com/users/wumpz","html_url":"https://github.com/wumpz","followers_url":"https://api.github.com/users/wumpz/followers","following_url":"https://api.github.com/users/wumpz/following{/other_user}","gists_url":"https://api.github.com/users/wumpz/gists{/gist_id}","starred_url":"https://api.github.com/users/wumpz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wumpz/subscriptions","organizations_url":"https://api.github.com/users/wumpz/orgs","repos_url":"https://api.github.com/users/wumpz/repos","events_url":"https://api.github.com/users/wumpz/events{/privacy}","received_events_url":"https://api.github.com/users/wumpz/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-27T13:56:10Z","updated_at":"2015-04-27T17:34:07Z","closed_at":null,"body":"I'm using Oracle, where `PERCENT` is not a keyword and each time I try to parse a `SELECT` query that contains a reference to a column named `percent` the parser fails with a parse exception.\r\n\r\nHere is an example query that fails to parse: \r\n```sql\r\nSELECT PERCENT \"percent\" FROM MY_TABLE;\r\n```\r\n\r\n```\r\ncause : Encountered \" \"PERCENT\" \"PERCENT \"\" at line 1, column 8.\r\nWas expecting one of:\r\n    \"ALL\" ...\r\n    \"TOP\" ...\r\n    \"DISTINCT\" ...\r\n    \"*\" ...\r\n    \"ALL\" ...\r\n    \"DISTINCT\" ...\r\n    \"TOP\" ...\r\n    \"*\" ...\r\n```\r\n\r\n\r\n\r\nBy the looks of it, the fix for this seems to be to add `<K_PERCENT>` to the list of tokens in `RelObjectName()`."},"comment":{"url":"https://api.github.com/repos/JSQLParser/JSqlParser/issues/comments/96751791","html_url":"https://github.com/JSQLParser/JSqlParser/issues/128#issuecomment-96751791","issue_url":"https://api.github.com/repos/JSQLParser/JSqlParser/issues/128","id":96751791,"user":{"login":"wumpz","id":1569337,"avatar_url":"https://avatars.githubusercontent.com/u/1569337?v=3","gravatar_id":"","url":"https://api.github.com/users/wumpz","html_url":"https://github.com/wumpz","followers_url":"https://api.github.com/users/wumpz/followers","following_url":"https://api.github.com/users/wumpz/following{/other_user}","gists_url":"https://api.github.com/users/wumpz/gists{/gist_id}","starred_url":"https://api.github.com/users/wumpz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wumpz/subscriptions","organizations_url":"https://api.github.com/users/wumpz/orgs","repos_url":"https://api.github.com/users/wumpz/repos","events_url":"https://api.github.com/users/wumpz/events{/privacy}","received_events_url":"https://api.github.com/users/wumpz/received_events","type":"User","site_admin":false},"created_at":"2015-04-27T17:34:07Z","updated_at":"2015-04-27T17:34:07Z","body":"You are absolutely right about the solution. I will fix it when I have some time."}}