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
Saving 3ds Max 2009 files taking ages !!
How to make hp nx7300 start?
After installing MS SQL 2008 on a SBS Premium Server, cannot run reports no SBSMonitoring instance
Subform not showing related records
quickbooks on DFS
SQL Server 2005 Replication
How to Convert PC into KVM / LAPTOP INTO KVM
Select Query to identify when a customer ID exists during the same time period Part 2
.NET website. Changing name of databound dropdownlist... blank page results?
deletion