sql
AlfredNing
总是想麻痹自己
展开
-
postgreSQL根据表字段生成insert语句
postgreSQL根据表字段生成insert语句原创 2023-03-04 22:02:42 · 484 阅读 · 0 评论 -
MySQL 中的Replace Into / Insert Into/ Insert Into ... On duplicate key update 用法
创建一张表 create table t_user ( t_id bigint(20) auto_increment, user_id bigint(10), user_name varchar(20), primary key (`t_id`), unique index (`user_id`) ) Insert into INSERT INTO t_user (t_id, user_id, user_name) VALUES (1, 1, 'jiangs.原创 2022-02-06 21:30:12 · 804 阅读 · 0 评论