From 216ab193851eb9769381f5851754d5e20e357fb0 Mon Sep 17 00:00:00 2001 From: Chris Berkhout Date: Tue, 24 Aug 2021 13:49:35 +0200 Subject: [PATCH] For gnucash-sql, show the summary at the end so it doesn't scroll off screen. --- src/pricehist/resources/gnucash.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pricehist/resources/gnucash.sql b/src/pricehist/resources/gnucash.sql index e22671a..aa2a39d 100644 --- a/src/pricehist/resources/gnucash.sql +++ b/src/pricehist/resources/gnucash.sql @@ -35,10 +35,10 @@ WHERE tp.base = g1.mnemonic AND tp.guid NOT IN (SELECT guid FROM prices) ; --- Show the summary. -SELECT * FROM summary; - -- Show the final relevant rows of the main prices table SELECT 'final' AS status, p.* FROM prices p WHERE p.guid IN (SELECT guid FROM new_prices) ORDER BY p.date; +-- Show the summary. +SELECT * FROM summary; + COMMIT;