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
another basic rearrangement
Installing the SBS 2008 server (off location) prompts for migration if installing in existing domain...
Do you know how to select fields from 2 files based on a join of the files?
How to take a screenshot using VBS
Windows server 2003
Prepopulating result from Lookup Menu
How Do I retrieve information from a website contact form
$hf_mig$ folder in Windows directory
Disabling or Expirying Browser's Back button
breaking down Excel cell