INSERT INTO table( 1, 2, 3, 4, 5, 6, 7, 8)
SELECT
1,
2,
3,
4,
5,
6,
7,
8
FROM
(
SELECT
1 AS user_id,
2 AS facility_cd,
3 AS disp_user_id,
4 AS user_password,
5 AS failure_cnt,
6AS reg_date,
7AS up_date,
8 AS user_password_history
) T
WHERE
'1' = '1'
postgresql:如何使用WHERE子句一次将多个值插入到postgres表中或 INSERT 带where条件
最新推荐文章于 2024-08-14 08:35:49 发布