Good afternoon group my query is the following I have these tables
In the table books is the field lib_autor this field has a lot of records 3689 to be exact each one with its respective author (but these are repeated) and what I want is to replace those names with the id stored in the authors table aut_id since in this table each author has their id and they do not repeat themselves, they could tell me some query or something that does what I'm looking for I would appreciate it a lot.