Delphi-Quellcode:
SELECT * FROM Bilder b
WHERE name containing upper(:WERT)
OR b.bid IN ( SELECT * FROM bilder c WHERE c.bid IN ( SELECT c1.bid FROM BILDER c1 JOIN zwbilderprogramme z ON z.bildid = c1.bid JOIN programme t ON t.pid = z.programmid WHERE UPPER(t.namep) CONTAINing UPPER(:WERT)))
jetzt kriege ich den fehler: count of column list and variable list do not match