I have been trying so hard and I can't find a solution for this problem. I have two different INSERT statements:
INSERT INTO `logList`(`User_ID`) SELECT `User_ID` FROM `userList` WHERE keyname='somevalue';
INSERT INTO `logList`(`ttime`) VALUES (CURRENT_TIMESTAMP);
If I execute them, they will of course insert 2 different rows. How can I make a single INSERT
that returns only one row?
Thank you in advance.