|
|
|
@ -252,7 +252,7 @@ select st_studium_nr,
@@ -252,7 +252,7 @@ select st_studium_nr,
|
|
|
|
|
(case when primaerflag =1 then 1 |
|
|
|
|
else |
|
|
|
|
dense_rank () over (partition by semester, st_studstamm_nr,studiengang_nr |
|
|
|
|
order by fach_nr) |
|
|
|
|
order by primaerflag desc,fach_nr) |
|
|
|
|
end) as fach_nr, |
|
|
|
|
unikey, |
|
|
|
|
beginn_datum as anfdat, |
|
|
|
@ -314,7 +314,7 @@ cast (NULL as int) as studiengang_nr2,
@@ -314,7 +314,7 @@ cast (NULL as int) as studiengang_nr2,
|
|
|
|
|
(case when primaerflag =1 then 1 |
|
|
|
|
else |
|
|
|
|
dense_rank () over (partition by semester, st_studstamm_nr,studiengang_nr |
|
|
|
|
order by fach_nr) |
|
|
|
|
order by primaerflag desc, fach_nr) |
|
|
|
|
end) as fach_nr, |
|
|
|
|
unikey, |
|
|
|
|
beginn_datum as anfdat, |
|
|
|
|