SQL-Programmierung für Fortgeschrittene Anwendungsentwickler
Heute: Die sichere Abfrage für den Kantinenbesuch
SELECT schnitzel, pommes, mayo
FROM tblKantine
WHERE (preis_schnitzel + preis_pommes + preis_mayo) < (gehalt/100) AND schnitzel_haltbarkeitsdatum > GETDATE()
AND schnitzel_maul_und_klauenseuche = FALSE
AND pommes_frittierfett = GETDATE()
AND mayo_konsistenz NOT LIKE ‚%salmonellenbiotop%‘
AND koch_alkoholintus