数据库操作初体验

2018-03-29  本文已影响0人  五长同学

SELECT * FROM planet_dev.plant_notice;

insert into plant_notice(content,image,class_id) value('哈哈哈','hehehehe',1);

update plant_notice set content='huhuhu' where content ='哈哈哈';

update plant_notice set deleted=1='huhuhu' where content ='哈哈哈';

delete from plant_notice where content='huhuhu'

数据库安全操作set SQL_SAFE_UPDATES = 0;

上一篇下一篇

猜你喜欢

热点阅读