CREATE TABLE v0 ( v1 INT , v2 INT , v3 INT) ;
UPDATE v0 SET v1 = ( SELECT 28 WHERE v1 < ( SELECT v3 FROM v0 AS v4 GROUP BY v2, v1 ) ) ;
INSERT INTO v0 ( v1 ) VALUES 127, 62;
UPDATE v0 SET v2 = NULL WHERE v2 < ( SELECT v1 FROM v0 GROUP BY v1) ;
SELECT * FROM v0 AS v6 GROUP BY v2 , v3 HAVING NOT v2 UNION SELECT * FROM v0 ;