aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/update/pre002262-1-intezmeny.sql
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/update/pre002262-1-intezmeny.sql')
-rw-r--r--mayor-orig/update/pre002262-1-intezmeny.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/mayor-orig/update/pre002262-1-intezmeny.sql b/mayor-orig/update/pre002262-1-intezmeny.sql
new file mode 100644
index 00000000..e5662811
--- /dev/null
+++ b/mayor-orig/update/pre002262-1-intezmeny.sql
@@ -0,0 +1,3 @@
+ALTER TABLE vizsga ADD felev tinyint unsigned null AFTER `evfolyam`;
+-- default a második félév
+UPDATE vizsga SET felev=(SELECT felev FROM zaroJegy where zaroJegyId=vizsga.zaroJegyId); \ No newline at end of file