aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/mayor-naplo/update/pre002621-1-naplo.sql
blob: 280c2c26a59bfc0279c5bcb7fdd3d09a9a266bcf (plain)
1
2
3
4
5
-- hibás (elmaradt órákhoz rendelt) hiányzások törlése
create temporary table _torlendo select hianyzasId from hianyzas left join ora using (oraId) where ora.tipus like 'elmarad%';
delete from hianyzas where hianyzasId in (select hianyzasId from _torlendo);