nicht Zeitfolgenbasierende Erweiterungen 3

Anfrage: Wer hatte schon eine Gehalterhöhung bekommen
  • NONSEQUENCED VALIDTIME SELECT name
    FROM gehalt AS g1, gehalt AS g2, angestellte AS a
    WHERE g1.ano = a.ano AND g2.ano = a.ano
    AND s1.summe < s2.summe
    AND VALIDTIME(s1) MEETS VALIDTIME(s2);

    Resultat:
    name
    Lilian