So this is my table structures if it helps:
UPDATE songs
-> SET artist_id =
-> (SELECT artist_id FROM artists WHERE artists.name = songs.artist);
Query OK, 0 rows affected (0.00 sec)
Rows matched: 27 Changed: 0 Warnings: 0
My code keeps matching rows but never ends up changing anything in the actual table
Any ideas on why it's not working?
