Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
SQL Merge Statement Tutorial A-Z | How to use Merge in SQL step by step
Play lesson

SQL Tips and Tricks - SQL Merge Statement Tutorial A-Z | How to use Merge in SQL step by step

5.0 (3)
42 learners

What you'll learn

This course includes

  • 15 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

In this video we will understand the SQL merge statement. Using merge statement we can insert , update and delete data in a single statement. script: CREATE TABLE SourceProducts( ProductID INT, ProductName VARCHAR(50), Price DECIMAL(9,2) ); CREATE TABLE TargetProducts( ProductID INT, ProductName VARCHAR(50), Price DECIMAL(9,2) ); delete from SourceProducts; INSERT INTO SourceProducts VALUES(1,'Table',90),(3,'Chair',70) delete from TargetProducts; INSERT INTO TargetProducts VALUES(1,'Table',100),(2,'Desk',180) Zero to hero(Advance) SQL Aggregation: https://youtu.be/5Ighj_2PGV0 Most Asked Join Based Interview Question: https://youtu.be/xR87ctOgpAE Solving 4 Trick SQL problems: https://youtu.be/Ck1gQrlS5pQ Data Analyst Spotify Case Study: https://youtu.be/-YdAIMjHZrM Top 10 SQL interview Questions: https://youtu.be/Iv9qBz-cyVA Interview Question based on FULL OUTER JOIN: https://youtu.be/KQfWd6V3IB8 Playlist to master SQL : https://youtube.com/playlist?list=PLBTZqjSKn0IeKBQDjLmzisazhqQy4iGkb Rank, Dense_Rank and Row_Number: https://youtu.be/xMWEVFC4FOk #sql #merge

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere