My Blog

toolman xyz

  1. Home
  2. About
  3. Archives
  4. Tags
  5. Search
  6. Links
  7. Disclaimer
  8. RSS
Featured image of post mysql insert into where not exists
MySql

mysql insert into where not exists

Apr 15, 2020
閱讀時間: 1 分鐘

INSERT INTO [to] (name) SELECT name FROM [from] WHERE not exists (select * from [to] where [from].name = [to].name);

 

MySql PostgreSQL
Licensed under CC BY-NC-SA 4.0

相關文章

分類測試

mysql 找每一個人的最後一筆紀錄

MYSQL 處理查詢結果

© 2020 - 2026 My Blog
使用 Hugo 建立
主題 Stack 由 Jimmy 設計