使用adminer将数据库最常用的增删改查操作

原创 2019-06-15 11:35:39 215
摘要:1)INSERT INTO `user` (`ID`, `name`, `sex`, `age`, `email`, `password`, `status`, `creat_time`) VALUES (1, '张三', 0, 30, 'aa@126.com', '7c4a8d09ca3762af61e59520943dc26494f8941b&

1)INSERT INTO `user` (`ID`, `name`, `sex`, `age`, `email`, `password`, `status`, `creat_time`) VALUES
 (1, '张三', 0, 30, 'aa@126.com', '7c4a8d09ca3762af61e59520943dc26494f8941b', 0, 1560566223);

2)SELECT  concat_ws(`:` ,`id`,`name`) as `res` FROM WHERE `user`;

3)UPDATE `user` SET name = 'zzz' WHERE id= '1';

4)DELETE FROM `user`WHERE id= '1'; 

发布手记

热门词条