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
Internet Explorer is broken!!!
form set focus vb.net
OLE DB provider 'SQLOLEDB' was unable to begin a distributed transaction
Internet Explorer 8 in Windows 7 does not display page
how to create tables in SQL Server 2008
How to calculate 25th percentile on an Access report
Full Trust granting for Assembly in x64
What is a good server naming convention?
Filter By Form works perfect in MDB but does nothing in MDE
Export Access to Word template