Microsoft
Software
Hardware
Network
Question : SQL Query the excludes criteria
I can't seem to get the right results from my query.
I want the name of all recipes that do not use salt as an ingredient. I made up this query:
SELECT Recipes.RecipeName
FROM Recipes INNER JOIN Ingredients ON Recipes.RecipeId = Ingredients.RecipeID
WHERE Ingredient Not In ('salt')
GROUP BY Recipes.RecipeName;
But it still returns the recipe names that have have salt as an ingredient. Can't figure what's up. I'm using SQL Enterprise 2000.
Thank-you for all of your help,
Answer : SQL Query the excludes criteria
learn html and use notepad
or Notepad++, ConTEXT, free wanderful applications for any kind of editing purposes...
Random Solutions
social networking content management system
Split specific Cross tab table rows based on criteria - keeping all other column data intact.
Offline file missing - synchronisation failing for some files
How to fix assignment of 'ptr to const' to 'ptr' compile error?
varbinary in equality condition
IIS 7 Authorization rules icon missing
Excel VBA create Outlook Email format
how do i get my vmware working on my optiplex 755
Windows xp stuck on loading screen. Can I repair it in safe mode?
connecting to a windows 2003 file share from a mac, folders are empty