i'm really stumped why this SQL statement is not working. I guess my MySQL has gotten rusty.
UPDATE mscanproducts SET mscanproducts.manufacturers_id = 37 where
mscanproducts.products_id = mscanproducts_to_categories.products_id and mscanproducts_to_categories.categories_id = 5;
The error i'm getting is this.
Unknown column 'mscanproducts_to_categories.products_id' in 'where clause'
but i'm sure the column and table do exist
i'll try to briefly to describe the tables
products_id | manufactures_id
1 | null
products_id | categories_id
1 | 5