I have an update to make through PMA. It seems simple but might not be. I have attached an image of the DB table and relevant fields.
This is a DB table with some 90000 records. Some of the records in the "alias" column are exactly the result I need. For example, in the image, id's 743971, 743961 and 743951 are perfect. I am looking to update the 'alias' column with the matching number from the ID column, joined by a hyphen, and in lowercase. For example - in the image..the second record needs an alias update from just "ponder" to become "ponder-743981".
Is there a way to do an UPDATE with CONCAT, that can ignore the correct records, update the incorrect ones. (Ignore the first ID in that image, no alias records are blank.) Thanks for any help you can give!