mysql> INSERT INTO money (username,balance ,province,age,sex) -> values('王寶強(qiáng)','120.02','上海','29',1), -> ('范冰冰','260.23','山東','40',0), -> ('黃曉明','180.02','山東','40',1), ->
6年前 添加回復(fù) 0
創(chuàng)建表 CREATE TABLE money ( id INT NOT NULL AUTO_INCREMENT , username VARCHAR(50) NOT NULL , balance FLOAT NOT NULL , province VARCHAR(20) NOT NULL , age TINYINT UNSIGNED NOT N
6年前 添加回復(fù) 0
復(fù)制創(chuàng)建 money 表時(shí)出錯(cuò)了: ERROR 1089 (HY000): Incorrect prefix key; the used key part isn't a string, the used length is longer than the key part, or the storage engine doesn't support unique prefix keys mysq
6年前 添加回復(fù) 0
[最新 心境 的回答] 好的,謝謝那比如在個(gè)人信息數(shù)據(jù)表中,用mysqli_fetch_assoc()獲得列名行作關(guān)聯(lián)數(shù)組鍵是,如何通過for循環(huán),顯示整個(gè)數(shù)據(jù)表呢,謝謝
時(shí)間:6年前
php中文網(wǎng):公益在線php培訓(xùn),幫助PHP學(xué)習(xí)者快速成長! 增值電信業(yè)務(wù)經(jīng)營許可證:蘇B2-20210495
Copyright 2014-2025 http://m.miracleart.cn/ All Rights Reserved
湘ICP備2023035733號
關(guān)于我們免責(zé)申明
胡涂
中創(chuàng)建表出錯(cuò),把PRIMARY KEY (id(10)) 中的(10)去掉變成PRIMARY KEY (id)
5年前 添加回復(fù) 1