我正在MySQL中运行报告。其中一个查询涉及将大量行插入到临时表中。当我尝试运行它时,我得到了这个错误:Errorcode1206:Thenumberoflocksexceedsthelocktablesize.有问题的查询是:createtemporarytableSkusBought(customerNumint(11),skuint(11),typedescchar(25),key`customerNum`(customerNum))ENGINE=InnoDBDEFAULTCHARSET=latin1;insertintoskusBoughtselectt1.*from(sele
我正在MySQL中运行报告。其中一个查询涉及将大量行插入到临时表中。当我尝试运行它时,我得到了这个错误:Errorcode1206:Thenumberoflocksexceedsthelocktablesize.有问题的查询是:createtemporarytableSkusBought(customerNumint(11),skuint(11),typedescchar(25),key`customerNum`(customerNum))ENGINE=InnoDBDEFAULTCHARSET=latin1;insertintoskusBoughtselectt1.*from(sele