{"author_name":"HTN20190109","author_url":"https://blog.hatena.ne.jp/HTN20190109/","url":"https://htn20190109.hatenablog.com/entry/2022/09/04/222010","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2022%2F09%2F04%2F222010\" title=\"\u6642\u523b\u306e\u5f15\u304d\u7b97 - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","published":"2022-09-04 22:20:10","categories":["DB"],"type":"rich","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://htn20190109.hatenablog.com/","description":"MySQL (8.0.29) drop table tab1;create table tab1(col1 bigint auto_increment primary key,col2 datetime(6) ); insert into tab1(col2) values(current_timestamp(6) ); select * from tab1; select col1, col2, lag(col2) over(order by col1) col2_lag, col2 - lag(col2) over(order by col1) deltafrom tab1order by\u2026","provider_url":"https://hatena.blog","blog_title":"HTN20190109\u306e\u65e5\u8a18","title":"\u6642\u523b\u306e\u5f15\u304d\u7b97","width":"100%"}