I’m migrating data right now and I need to prepare it for the new applicatin. Here is my query:
SELECT pet.member_id, CONCAT( 'full_', pet.member_id, '.', pet.image_ext ) AS post_thumbnail
FROM pet
WHERE pet.image_ext != ""
I need to add a column for an ID … and the number needs to start at 2000 and increase.
How can I add that to this query?
1 Answer