With MySQL I know it's possible to create a temporary table from a SELECT: Create a temporary table in a SELECT statement without a separate CREATE TABLE
I also know it's possible to create autoincrement in a temporary table: Auto Increment in Temporary Table
I want to do both at the same time: create a temporary table from a SELECT statement and I want the temporary table to have an auto increment column.
It is possible to do that?