-3
I’m in the following situation, I’ve been searching the net and found similar aids but not what I really need to know and I don’t even know if it’s possible!
Come on! There would be some way for me to put the ID number that will be inserted in the INSERT query and clone it to another field of the same table but, all of this in the same query?
table:
users
fields:
id (Auto increment)
id_member
I would like to do a query where the number that will be generated in the id field is also placed in the id_member field.
Thanks!
Okay, edited out....
– Caio Lourençon
Then beseech the
INSERT
, shall not effect aUPDATE
?– I_like_trains
Yes it was what I would do, but I wanted to know if it was possible to run everything in the same query, thinking of optimizing the code!
– Caio Lourençon