0
点赞
收藏
分享

微信扫一扫

mysql语句

萍儿的小确幸 2022-02-23 阅读 68

1、查询vacation_year表中user_id = 'WV00000101'的列值

select * from vacation_year where user_id = 'WV00000101'3

2、删除vacation_year表中user_id = 'WV00000125' and id = '837'的列值

delete from vacation_year where user_id = 'WV00000125' and id = '837'

3、更新vacation_year表中user_id = 'WV00000363'中outsend_days ='0字段等于0

UPDATE vacation_year set outsend_days ='0' where user_id = 'WV0000063'

UPDATE vacation_year set outsend_days ='0' where user_id = 'WV00000242'
UPDATE vacation_year set days ='40' where id = '788'

4、


INSERT INTO vacation_year VALUES (0, "1", "WV00000422", '40','0','2022','2022-02-06 23:55:59','2022-02-06 23:55:59',null);

举报

相关推荐

0 条评论