Microsoft
Software
Hardware
Network
Question : SQL ALL/EXISTS in a query
Talking northwind :-)
I want to find all products where all orders meet a given criteria. But I don't get that working.
In my case it is a boolean field in the related table where all records from the 1-table should be shown where all related records are false.
I have a workaround with:
SELECT fiKapitel, Sum(CDbl(MustHit)) AS Anzahl
FROM tdta_WeicheKapitel
GROUP BY fiKapitel
HAVING Sum(CDbl(MustHit))>0
But I want to find out how to work with the keywords mentioned above. They are probably more useful in other cases.
Chris
btw: It need to work with MS Access!
Answer : SQL ALL/EXISTS in a query
I believe, you can try this following..
SELECT fiKapitel, Sum(MustHit) AS Anzahl
FROM tdta_WeicheKapitel
GROUP BY fiKapitel
HAVING Sum(MustHit)>0
Random Solutions
Multiple records form - remove control
Setting up OKI C5100n on Windows Vista Business (32 bit)
HOW DO OVERRIDE EVENT OF COMBOX IN VBNET
MS Access 2007: Shortcut to make the required field 'yes"
Windows 2000, 2008 and Exchange 2010
Xbox 360 and wired networking
vb.net - sort listview items
Maximum Folder Depth
Excel Count w/ Multiple Criteria on another Sheet
Netman DCOM settings are disabled by default in Windows 7