I wanted to insert a row where one of its field got the ID from an AUTO_INCREMENT field. Is it possible to do this in one single query?
INSERT INTO table (`id`, `sameID`) VALUES('', LAST_INSERT_ID())
id | sameID
1 | iam=1
2 | iam=2
3 | this=3
4 | this=4