//插入数据
INSERT INTO `user` ( `name`, `sex`, `age`, `email`, `passowrd`, `status`, `create_time`)
VALUES ('ouyangke', 0, 26, 'oyk@qq.com', sha1('123456'), 1, '1558406693'),
('hongqigong', 0, 67, 'hqg@qq.com', sha1('123456'), 1, '1558406693'),
('yangkang', 0, 36, 'yk@qq.com', sha1('123456'), 1, '1558406693'),
('yinzhiping', 0, 56, 'yzp@qq.com', sha1('123456'), 1, '1558406693');
//删除数据
DELETE FROM `user` WHERE `id` = 1;
![1558410280696445.png 4~KDK1G@(_0JBT2~D3]D~AP.png](http://img.php.cn/upload/image/663/859/252/1558410280696445.png)
//更新数据
UPDATE `user` SET `age`=18 WHERE `name`='xiaolongnv'

//查询数据
SELECT COUNT(*) AS MALE_NUM FROM `user` WHERE `sex`=0;
