📅  最后修改于: 2022-03-11 15:05:23.809000             🧑  作者: Mango
INSERT INTO GBPPlus(IndexChange)
VALUES( ABS((SELECT NUMINDEX FROM GBP WHERE ID>ID-1) - (SELECT NUMINDEX FROM GBP WHERE ID=ID ))