No video

SQL Interview Questions Part 65 | PWC Interview Question & Answer 🔥🔥

  Рет қаралды 1,258

ItJunction4all

ItJunction4all

Күн бұрын

SQL Interview Questions Part 65 | PWC Interview Question & Answer 🔥🔥
This question has been asked in PWC interview. This question will be helpful in cracking any SQL interview
Problem Statement : There are two tables namely Src and Tgt. Both table have two columns i.e. id and Name.
Write an SQL query to get the expected output as below. It should display Id column and derived ‘Comment’ column which will have as either “Only in Source”, “Mismatch” and ”Only in Target” as shown below
-------------------------------------------------------------------------
𝗝𝗼𝗶𝗻 𝗺𝗲 𝗼𝗻 𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:🔥
-------------------------------------------------------------------------
*Instagram :
/ itjunction4all
*Twitter:
/ sunilkr5672
-------------------------------------------------------------------------
Table and Insert SQL Script :
-------------------------------------------------------------------------
create table Src(
id int,
name varchar(5)
)
create table Tgt(
id int,
name varchar(5)
)
insert into Src values(1,'A'),(2,'B'),(3,'C'),(4,'D')
insert into Tgt values(1,'A'),(2,'B'),(4,'X'),(5,'F')
#SQL #PWCInterview #itjunction4all

Пікірлер: 3
@Neehal_vid
@Neehal_vid 4 ай бұрын
Thank you for posting, It's very helpful to practice.
@ItJunction4all
@ItJunction4all 4 ай бұрын
You are welcome ! I hope you are liking my other videos as well.
@harikanchani4992
@harikanchani4992 3 ай бұрын
Thanks for posting such important concepts! Very helpful too. Please post videos on SQL best practices, tuning techniques/optimization of SQL Queries. Thanks
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,7 МЛН
Matching Picture Challenge with Alfredo Larin's family! 👍
00:37
BigSchool
Рет қаралды 52 МЛН
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 13 МЛН
Practice SQL Interview Query | Big 4 Interview Question
14:47
SQL Temp Tables
10:21
Pragmatic Works
Рет қаралды 5 М.
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,7 МЛН