Trying to join two tables stored in database on a PID and storing the new table in a new table as below.
CREATE TABLE mod_table_INPUT_TARGET
SELECT *
FROM mod_table_DMRF
INNER JOIN mod_table_2
ON mod_table_DMRF.tDMRF_ACE_ID = mod_table_2.t2_ACE_ID;
ERROR 1005 (HY000): Can’t create table ‘py_db.mod_table_INPUT_TARGET’
(errno: 139)
I don’t understand the mysql error. All the columns have different names in both tables.
EDIT: I want to make a new table mod_table_INPUT_TARGET which is made by joining mod_table_2 and mod_table_DMRF, joined on the ACE_ID. I’m using innodb.
I had too many columns which was blowing the row memory limit. Since cutting down to the most essential columns, I can run the statement.