Hi all
This should be simple enough but I cant seem to get it to work
Lets say I have a table "recepies"
| Formula | Ingredient | //these are the fields' names
----------------------------------
| cake | water |
| cake | flour |
| dough | water |
| dough | flour |
| tea | water |
| tea | extract |
I need a query that will give me all the formulas with "water" and "flour" listed in the table (ie - cake, dough).
I know I have to do something with the "as" keyword but Im not very fluent in SQL. Can someone lend a helping hand?
Thanks
IA
This should be simple enough but I cant seem to get it to work

Lets say I have a table "recepies"
| Formula | Ingredient | //these are the fields' names
----------------------------------
| cake | water |
| cake | flour |
| dough | water |
| dough | flour |
| tea | water |
| tea | extract |
I need a query that will give me all the formulas with "water" and "flour" listed in the table (ie - cake, dough).
I know I have to do something with the "as" keyword but Im not very fluent in SQL. Can someone lend a helping hand?
Thanks
IA