aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/update/orev001920-1-naplo.sql
blob: 0c6b59f2e6bfd6124b0ed86de2e4a1d0cf547314 (plain)
1
2
3
4
drop table if exists _hibasHianyzasok;
create table _hibasHianyzasok (select hianyzasId from hianyzas left join ora using (oraId) WHERE ora.tipus IN ('elmarad','elmarad máskor'));
DELETE FROM `hianyzas` WHERE `hianyzasId` IN (SELECT * FROM _hibasHianyzasok);
drop table if exists _hibasHianyzasok;