What do these statements do within the same expression? First stumbled upon a similar syntax. Like:
INSERT INTO tblTemp2 (fldID) SELECT tblTemp1.fldOrder_ID FROM tblTemp1 WHERE tblTemp1.fldOrder_ID > 100; Inserts records by condition, selecting them?
And is this syntax right now? I found it in one of the manuals, but I read that it does not work for MySQL. Is it true?
SELECT val1+val2 INTO 't' FROM `my` LIMIT 0,1;