{"action":"opened","issue":{"url":"https://api.github.com/repos/Piiit/tpg/issues/45","labels_url":"https://api.github.com/repos/Piiit/tpg/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/Piiit/tpg/issues/45/comments","events_url":"https://api.github.com/repos/Piiit/tpg/issues/45/events","html_url":"https://github.com/Piiit/tpg/issues/45","id":109033784,"number":45,"title":"SET OPERATIONS: union / except / intersect [all] ","user":{"login":"Piiit","id":6096063,"avatar_url":"https://avatars.githubusercontent.com/u/6096063?v=3","gravatar_id":"","url":"https://api.github.com/users/Piiit","html_url":"https://github.com/Piiit","followers_url":"https://api.github.com/users/Piiit/followers","following_url":"https://api.github.com/users/Piiit/following{/other_user}","gists_url":"https://api.github.com/users/Piiit/gists{/gist_id}","starred_url":"https://api.github.com/users/Piiit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Piiit/subscriptions","organizations_url":"https://api.github.com/users/Piiit/orgs","repos_url":"https://api.github.com/users/Piiit/repos","events_url":"https://api.github.com/users/Piiit/events{/privacy}","received_events_url":"https://api.github.com/users/Piiit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Piiit/tpg/labels/3-IN%20DEVELOPMENT","name":"3-IN DEVELOPMENT","color":"009800"}],"state":"open","locked":false,"assignee":{"login":"Piiit","id":6096063,"avatar_url":"https://avatars.githubusercontent.com/u/6096063?v=3","gravatar_id":"","url":"https://api.github.com/users/Piiit","html_url":"https://github.com/Piiit","followers_url":"https://api.github.com/users/Piiit/followers","following_url":"https://api.github.com/users/Piiit/following{/other_user}","gists_url":"https://api.github.com/users/Piiit/gists{/gist_id}","starred_url":"https://api.github.com/users/Piiit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Piiit/subscriptions","organizations_url":"https://api.github.com/users/Piiit/orgs","repos_url":"https://api.github.com/users/Piiit/repos","events_url":"https://api.github.com/users/Piiit/events{/privacy}","received_events_url":"https://api.github.com/users/Piiit/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-09-30T07:45:37Z","updated_at":"2015-09-30T07:45:37Z","closed_at":null,"body":"Syntax:\r\n```\r\nquery1 PERIOD UNION [ALL] WITH (ts, te, ts, te) a1,...,an query2\r\n```\r\n\r\nAccording to the PostgreSQL documentation a query, like \r\n```\r\nquery1 UNION query2 UNION query3\r\n```\r\nis executed as:\r\n```\r\n(query1 UNION query2) UNION query3\r\n```\r\n"}}