SQL Interview Question Based on Full Outer Join | Asked in Deloitte

Ankit Bansal
Ankit Bansal
20.2 هزار بار بازدید - 2 سال پیش - In this video we will
In this video we will learn how to deal with full outer joins. In full outer join we need to deal with lot of null values so it is important to understand this concept.
This question was also asked to me in Deloitte Interview way back in 2017.

Here is the ready script:
create table emp_2020
(
emp_id int,
designation varchar(20)
);

create table emp_2021
(
emp_id int,
designation varchar(20)
)

insert into emp_2020 values (1,'Trainee'), (2,'Developer'),(3,'Senior Developer'),(4,'Manager');
insert into emp_2021 values (1,'Developer'), (2,'Developer'),(3,'Manager'),(5,'Trainee');

#sql #interview #fullouterjoin #outerjoin #fulljoin
2 سال پیش در تاریخ 1400/12/26 منتشر شده است.
20,252 بـار بازدید شده
... بیشتر