Hi all I have two mysql tables, one containing details on cars and one containing all the possible models of the cars, as such:
cars: car_id model [more details] models: model_id model_name
Now, my problem is that the model details stored in the 'cars' table is the model_name, rather than the model_id which is what I want
I'm guessing I need some kind of recursive UPDATE table to be able to update cars.model, but my brain's stopped working and can't figure out how to do it. Does anyone have any hints on how this would be done?
Thanks to anyone who can help!