22.05.2016, 17:56
pawn Код:
INSERT INTO `adminlog` (`Ip`) SELECT `Ip` FROM `user` WHERE `Username` = 'something';
This is a direct query. You may modify it according to your needs.
INSERT INTO `adminlog` (`Ip`) SELECT `Ip` FROM `user` WHERE `Username` = 'something';