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

Veröffentlicht am: 07 April 2024
auf dem Kanal: ItJunction4all
2,164
56

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


Auf dieser Seite können Sie das Online-Video SQL Interview Questions Part 65 | PWC Interview Question & Answer 🔥🔥 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer ItJunction4all 07 April 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 2,164 Mal angesehen und es wurde von 56 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!