I'm trying to some something like that:
INSERT INTO dir_pictures SET filename=CONCAT(picture_id,'-test');
picture_id is my primary key, auto-increment. Basically I'm trying to put the id of this insert statement, in the statement itself.
I'm sure it can be done with some extra PHP code or using more than one statements, but I was wondering if there is a quick and easy way to do it in one shot.
PS. The statement above always put '0-test'