展开全部
|这表结构字段属性设计的很糟糕,建议修改!
mysql> create table publish (number int(8),user varchar(20),name varchar(20),phone int(12),title text,content text ,list int(1),things varchar(20),quality varchar(20),glance int(5),trad varchar(20),classify varchar(6),city_id int(6),exchange varchar(6),town_id int(5),town varchar(20),ex_he varchar(20),my_ex varchar(50),photo int(2),ip int(12),time int(10)) ;
Query OK, 0 rows affected (0.02 sec)mysql> insert into publish (number,user,name,phone,title,content,list,things,quality,glance,trad,classify,city_id,exchange,town_id,town,ex_he,my_ex,photo,ip,time) values (1,'2','3',4,'5','6',7,'8','9',10,'11','12',13,'14',15,'16','17','18',19,20,21);
Query OK, 1 row affected (0.01 sec)mysql> select * from publish;
+--------+------+------+-------+-------+---------+------+--------+---------+--------+------+----------+---------+----------+---------+------+-------+-------+-------+------+------+
|e69da5e887aa3231313335323631343130323136353331333335316538 number | user | name | phone | title | content | list | things | quality | glance | trad | classify | city_id | exchange | town_id | town | ex_he | my_ex | photo | ip | time |
+--------+------+------+-------+-------+---------+------+--------+---------+--------+------+----------+---------+----------+---------+------+-------+-------+-------+------+------+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
+--------+------+------+-------+-------+---------+------+--------+---------+--------+------+----------+---------+----------+---------+------+-------+-------+-------+------+------+
1 row in set (0.00 sec)