I have a "lookup" table setup so that inventory coming in will be classed in one of three buckets. The inventory title is the value being referenced and it has lots of crazy values. Samples of titles in the "Data" table are:
"Widget XL"
"Widget Small"
"Widget Medium! Special! Free Shipping!"
"Gizmo Small"
"Gizmo XL"
My lookup table ("Item Mapping") looks like the following:
Inventory Keyword Item
Widget Widget
Gizmo Gizmo
I want to write a SQL statement that updates a field in the Data table ("Item") with the Item value from Item Mapping. How do I do this?? It seems like my join is going to be a "Like" statement. Is that possible?
"Widget XL"
"Widget Small"
"Widget Medium! Special! Free Shipping!"
"Gizmo Small"
"Gizmo XL"
My lookup table ("Item Mapping") looks like the following:
Inventory Keyword Item
Widget Widget
Gizmo Gizmo
I want to write a SQL statement that updates a field in the Data table ("Item") with the Item value from Item Mapping. How do I do this?? It seems like my join is going to be a "Like" statement. Is that possible?