logo
  • 教程列表
  • SO官方文檔
  • 插入
    • 使用 COPY 插入資料
    • 插入多行
    • INSERT 資料和 RETURING 值
    • 基本 INSERT
    • 從 select 中插入
    • 將資料選擇到檔案中
    • UPSERT - INSERT ...在衝突中更新......
  1. StackOverflow 文件
  2. postgresql 教程
  3. 插入
  4. 插入多行

插入多行

Created: November-22, 2018

你可以同時在資料庫中插入多行:

INSERT INTO person (name, age) VALUES 
  ('john doe', 25),
  ('jane doe', 20);
  • INSERT 資料和 RETURING 值
  • 使用 COPY 插入資料

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明