Hey folks!
I tried hunting for a MySQL specific NG and didn't find one but I did
see that MySQL questions get asked here. If this isn't appropriate and
you know of an appropriate NG then that would be great.
In one table I have inventory...
table name is "inventory"
columns are..
-----------------------------
item_number item_name
-----------------------------
1 radishes
2 carrots
3 potatoes
4 oranges
etc..etc
Table two is "sold"
------------------------------
date item_number
13Mar 1
14Mar 4
15Mar 2
16Mar 1
What I am querying is the table "sold" for the Unique items (1,4,2)
and then retrieving their names from table 1.
My query below isn't working..
SELECT item_name FROM inventory WHERE inventory.item_number =
sold.item_number;
I am just now starting to get into complicated MySQL queries and
actually the more I learn about it the more I love it.
I appreciate any advice anyone may have.
Many thanks!
Wilkie