You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
300 B
11 lines
300 B
select sem_der_pruefung,labnr,sourcesystem into temp tmp_doppelt |
|
from sos_lab_stg where abschnitt=2 |
|
and stichtag=(select tid from sos_stichtag where appl_key='4') |
|
group by 1,2,3 |
|
having count(*) > 1 |
|
order by 1; |
|
|
|
select sem_der_pruefung,count(*) from tmp_doppelt group by 1; |
|
|
|
drop table tmp_doppelt; |
|
|
|
|