From f51c9ed2abe5c68211bb3736be5f70b1fe2c9ec0 Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Fri, 8 Mar 2019 21:20:34 +0100 Subject: további rendrakás --- mayor-orig/mayor-naplo/update/orev001909-1-intezmeny.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 mayor-orig/mayor-naplo/update/orev001909-1-intezmeny.sql (limited to 'mayor-orig/mayor-naplo/update/orev001909-1-intezmeny.sql') diff --git a/mayor-orig/mayor-naplo/update/orev001909-1-intezmeny.sql b/mayor-orig/mayor-naplo/update/orev001909-1-intezmeny.sql new file mode 100644 index 00000000..a6835bd0 --- /dev/null +++ b/mayor-orig/mayor-naplo/update/orev001909-1-intezmeny.sql @@ -0,0 +1,4 @@ +drop table if exists _hibasZarojegyek; +create table _hibasZarojegyek (select distinct a.zaroJegyId from vizsga AS a LEFT JOIN zaroJegy AS b USING (zaroJegyId) WHERE szemeszter=1); +update zaroJegy SET szemeszter=2 WHERE zaroJegyId IN (SELECT * FROM _hibasZarojegyek); +drop table if exists _hibasZarojegyek; -- cgit v1.2.3