PHP之Mysql常用SQL语句示例的深入分析
2017-02-06
38
1.插入数据insert into表名(列名1,列名2,列名..) values(值1,值2,值...); insert into product(name, price, pic_path) values("Nike",500,"uploads/3245.jpg");2.更新数据update 表名set列名1=值1,列名2=值2[where条件];update product set name="LiNing", price=50where id=2;3...