{"url":"https://www.shigemk2.com/entry/2014/03/29/union","blog_url":"https://www.shigemk2.com/","provider_name":"Hatena Blog","blog_title":"by shigemk2","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2014%2F03%2F29%2Funion\" title=\"union - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"author_name":"shigemk2","categories":["SQL"],"width":"100%","author_url":"https://blog.hatena.ne.jp/shigemk2/","provider_url":"https://hatena.blog","version":"1.0","published":"2014-03-29 01:51:01","description":"\u7d50\u679c\u306e\u7d50\u5408\u3002 SELECT P1.proc_id, P2.proc_id, P1.anest_name, P2.start_time, +1 FROM Procs AS P1, Procs AS P2 WHERE P1.anest_name = P2.anest_name AND NOT (P2.end_time <= P1.start_time OR P2.start_time >= P1.end_time) UNION SELECT P1.proc_id, P2.proc_id, P1.anest_name, P2.end_time, -1 AS event_type FROM Procs\u2026","title":"union","height":"190"}