結果 : postgresql calculate difference between two rows