Mastering SQL - Postgresql - Advanced SQL - Merging or Upserting Data

preview_player
Показать описание
At times we need to merge or upsert the data (update existing records and insert new records)

Popular Courses from itversity:

Data Engineering Courses:

CCA 175 certification courses using Python

More courses:

For quick itversity updates, subscribe to our newsletter or follow us on social platforms.

#PostgreSQL #MasteringSQL #DataEngineering #SQLprogramming #AdvancedSQL #LearningNewSkills #DataBaseProgramming #programming

Join this channel to get access to perks:
Рекомендации по теме
Комментарии
Автор

0:13 "Postgres does not have MERGE as part of the SQL syntax"
- NOT TRUE: as of PG15 this is available

ErikS-
Автор

Thank you for the importand lession on this topic.

I would like to ask a question.

Is there an easy way to take out InsertedCount and UpdatedCount when using merge way?

DarshanaHashendra