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
I have a text box on an access 2003 form, w/key behavior = new line in field text w/scroll out box
Publisher cannot open the file
Access to SQL ODBC Connection without the ODBC SQL Login Screen
Saving a filename with the week number of the last sunday
SQL query to select distinct ID for latest date past June/01/2009 where there are (possibly) more than one occurrence of each ID
Combining Arrays in VBA
Array Usage In Access
Vista command prompt
The store driver couldn't deliver the public folder replication message. Property Validation Failed when replicating public folders in mixed 2003/2007 evironment
SmtpClient and Exchange server settings