📜  INSERT INTO GBP Plus(Index Change) VALUES( AND((SELECT NUMINDEX FROM GBP WHERE ID>ID-1) - (SELECT NUMINDEX FROM GBP WHERE ID=ID )) - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:23.809000             🧑  作者: Mango

代码示例1
INSERT INTO GBPPlus(IndexChange)
VALUES( ABS((SELECT NUMINDEX FROM GBP WHERE ID>ID-1) - (SELECT NUMINDEX FROM GBP WHERE ID=ID ))