为什么每次尝试上载数据库时mysql都会给我错误1136?

时间:2019-01-13 00:51:48

标签: mysql

我尝试将数据库上传到MYSQL,这是我得到的错误:1136列数与第1行的值计数不匹配

插入帐户(pID,名称,pKey,pLevel,pForma,pAdmin,pPasport,pTime,pYears,pHelper,pJobHeal,pJobHealLeader,pMestoJail,pIp,pvIp,pIpReg,pHousecash,pCheckip,pText,pKey pHP,pSatiety,pDataReg,pCar,pFuelcar,pProcents,pDonateRank,pDonatemoney,pReg,pMats,pSex,pArrested,pMuted,pCrimes,pExp,pCash,pKills,pDeaths,pWantedDeaths,pPayCheck,pJD,pJed,pJD, pMember,pRank,pChar,pJob,pZadanie,pHealth,pSHealth,pInt,pLocal,pModel,pPnumber,pPhoneBook,pDirectory,pVhoddata,pVhodMes,pVhodchas,pVhodminute,pCarLic,pFlyLic,pBoatLic,pFishL,pFishl pPbiskey,pAvtomas,pZakonp,pAddiction,pNarcoLomka,pPayDay,pPayDayHad,pTut,pVig,pWarns,punWarns,punWarnstime,pFuel,pMarried,pMarriedTo,pDute,pFishs,pDanmoney,pDanmoney,pPanan, pLocked,pKrisha,pWantedLevel,pGunSkill1,pGunSkill2,pGunSkill3,pGunSkill4,pGunSkill5,pG unSkill6,ptaxiexp,ptaxilvl,pGunfbiTime,pGun51Time,pGunlspdTime,pGunaviaTime,pDrugtime,pBoxstyle,pKstyle,pKickstyle,pBoxSkill,pKongfuSkill,pKickboxSkill,pWheels,pPaintJob,ppH2,ppH2,PpH1,ppH2, pChar1,pChar2,pViborChar,pChas,pMin,pEmail,pOnlineLid,pLogin,pKvartiraKey,pKazino,pKRank,pSkilla,pLighter,pCigarettes,pRecognition,Online_status,pQira,pNeon,pVipTime,pJoint1,pProints1, pNeon1,pColor11,pColor21,pNitro1,pHydrawlic1,pFuelcar1,pCar1,pBonus,pCasinop,pFuelcar2,pCar2,pHealme,pProcents2,pWheels2,pPaintJob2,pSpoiler2,pNitro2,pHydrawlic2,pNeon32,pHydrawlic2,pNeon32,pNVALUE32,pNVALUE32,pNVALUE32,pNVALUE32,pNVALUE32,pNVALUE32,pBVALUES / i>

https://imgur.com/a/QyodpLV

1 个答案:

答案 0 :(得分:1)

因为值的数量必须与列名的数量匹配。例如:

insert into my_table (col1, col2, col3) values (123, 'abc', 456);

三个列名和三个值。如果您有一个不匹配的数字,例如2对3,那么它将抛出您提到的错误。

您的查询范围很广。您需要对其进行详细调试,以找出是否缺少列名或值。